Re: [PATCH v17 01/47] llist: move llist_{head,node} definition to types.h

Greg KH
2025-10-02T08:24:51Z

On Thu, Oct 02, 2025 at 05:12:01PM +0900, Byungchul Park wrote:
> llist_head and llist_node can be used by some other header files. For
> example, dept for tracking dependencies uses llist in its header. To
> avoid header dependency, move them to types.h.

If you need llist in your code, then include llist.h. Don't force all
types.h users to do so as there is not a dependency in types.h for
llist.h.

This patch shouldn't be needed as you are hiding "header dependency" for
other files.

thanks,

greg k-h