mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-20 06:54:38 +00:00
qla2x00t-32gbit: Fix a bug in the RHEL 6 port
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8174 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -115,7 +115,7 @@ static inline int __must_check btree_insert32(struct btree_head32 *head,
|
||||
if (p->key > key)
|
||||
break;
|
||||
}
|
||||
list_add(p->entry.prev, &n->entry);
|
||||
list_add(&n->entry, p->entry.prev);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ static inline int __must_check btree_insert64(struct btree_head64 *head,
|
||||
if (p->key > key)
|
||||
break;
|
||||
}
|
||||
list_add(p->entry.prev, &n->entry);
|
||||
list_add(&n->entry, p->entry.prev);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user