Re: [PATCH v6 02/11] kbuild: Add list_size, list_at_index, list_for_each_from
From: Luis Chamberlain
Date: Tue Dec 10 2024 - 22:49:43 EST
On Mon, Dec 09, 2024 at 02:00:19AM +0100, Ole Schuerks wrote:
> > 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.
We can update scripts/include/list.h from include/linux/list.h. So just
say, bleh blah exists in bleh bleh bleh.
Luis