Re: [PATCH v6 02/11] kbuild: Add list_size, list_at_index, list_for_each_from

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> What's wrong with list_count_nodes()?

> list_for_each_entry_from() exists on my tree on linux-next added
> through commit e229c2fb3370a ("[LIST]: Introduce
> list_for_each_entry_from") since v2.6.17, so since 2006.

These macros only exist in include/linux/list.h, not in
scripts/include/list.h. My assumption was that the build system should only
use scripts/include/list.h.

> I'd just keep thsi internal to your code for now, and later if we really
> want we can add this as a generic helper.

Alright, the additions will be internals in v7.

Best regards,
Ole Schuerks




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux