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

Byungchul Park
2025-10-16T00:39:13Z

On Thu, Oct 02, 2025 at 10:24:41AM +0200, Greg KH wrote:
> 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

Eventually, I found out another way to avoid the dependency issue.
Thanks anyway for the feedback.

Byungchul

> 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