On Fri, Aug 4, 2017 at 10:48 PM, Christopher Li <sparse@xxxxxxxxxxx> wrote: > On Fri, Aug 4, 2017 at 4:34 PM, Luc Van Oostenryck > <luc.vanoostenryck@xxxxxxxxx> wrote: >> It will not have a functional impact but you will add this test >> (and code for both tests) for every other use of the list macros >> for which it is totally unneeded. >> Are you sure to really want that? > > I am not sure we are on the same page. Only 2 macro need to be updated: > DO_FOR_EACH_PTR, DO_FOR_EACH_REVERSE. It's not for the number of macros defined. It's about the code size & the run-time effect on the iteration of the other lists. It seems simple enough but it would add two load-test-branch to every such macro invocation and these macros are already quite heavy. -- Luc -- 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