Thread (82 messages) 82 messages, 14 authors, 2025-12-01

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

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2025-10-02 08:24:51
Also in: dri-devel, linux-arch, linux-block, linux-doc, linux-ext4, linux-fsdevel, linux-i2c, linux-ide, linux-media, linux-mm, linux-modules, linux-nfs, linux-rt-devel, lkml, rcu

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help