Re: [PATCH v17 01/47] llist: move llist_{head,node} definition to types.h
From: Greg KH
Date: Thu Oct 02 2025 - 04:43:10 EST
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