On Fri, Nov 18, 2016 at 1:40 AM, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > > I suspect they should be fairly easy to update to just walk the list > until they hit a non-empty case (like DO_NEXT() already does, for > example). I think you are right, as always. It just need to add four while loops into first_ptr_list/last_ptr_list/DO_PREPARE/DO_RESET. Amount those 3 of the place should be able to share a function (or macro) to find the next not empty entry from list head. Ptrlist deletion happen so rare, it does not justify the complexity. Luc, sorry about the bad suggestion. Chris -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html