"Bryan O'Sullivan" <[EMAIL PROTECTED]> wrote: > > + BUG_ON(qp->timerwait.next != LIST_POISON1); > + list_add_tail(&qp->timerwait, &dev->pending[dev->pending_index]);
Please don't play around with list_head internals like this - some speedfreak might legitimately choose to remove the list_head poisoning debug code, or make it Kconfigurable. One option would be to always do list_del_init() on this thing, then do BUG_ON(!list_empty()). _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
