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:
Bart Van Assche
2019-04-08 02:40:12 +00:00
parent e4e13e917a
commit bd72ab1a74
+2 -2
View File
@@ -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;
}