On Tue, 16 Jul 2024 13:58:26 +0200, Ahmad Fatoum wrote: > <linux/kernel.h> defines a lot of things that go beyond what's needed for > <linux/list.h>. The only thing actually needed for the list > implementation is <linux/container_of.h>, so we should just include that > directly. > > This is also what Linux has been doing for a while, but it breaks the > build of a number of source files, which are addressed in this series. > > [...] Applied, thanks! [1/8] regmap-mmio: don't call kfree on non kmalloc allocated buffers https://git.pengutronix.de/cgit/barebox/commit/?id=47b17710a6d6 (link may not be stable) [2/8] treewide: fix dependency on indirectly included linux/kernel.h https://git.pengutronix.de/cgit/barebox/commit/?id=460a23bb44ab (link may not be stable) [3/8] stringlist: make header self-contained https://git.pengutronix.de/cgit/barebox/commit/?id=517a4fae1139 (link may not be stable) [4/8] module: retire MODULE_SYMBOL_PREFIX https://git.pengutronix.de/cgit/barebox/commit/?id=fb39544f95ee (link may not be stable) [5/8] include: move MODULE_* macro definitions into own header https://git.pengutronix.de/cgit/barebox/commit/?id=2ad332d6eaf4 (link may not be stable) [6/8] include: asm-generic/bug: break recursive dependency https://git.pengutronix.de/cgit/barebox/commit/?id=1ea777fbff9c (link may not be stable) [7/8] include: linux/kernel.h: split off into multiple headers https://git.pengutronix.de/cgit/barebox/commit/?id=ce2b8d6e4b07 (link may not be stable) [8/8] include: list: replace full kernel.h inclusion with smaller container_of.h https://git.pengutronix.de/cgit/barebox/commit/?id=d7b6cda8fcda (link may not be stable) Best regards, -- Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>