list: include linux/kernel.h
PATCH 1/1 list: include linux/kernel.h
linux/list.h uses container_of, therefore it depends on linux/kernel.h. Sync from below linux commit:
commit 8b21d9ca17ff8 ("list: include linux/kernel.h")
Signed-off-by Mark-PK Tsai <[email protected]>
Cc YJ Chiang <[email protected]>
--- include/linux/list.h | 1 + 1 file changed, 1 insertion(+)
include/linux/list.h +1 -0
@@ -3,6 +3,7 @@#include <linux/stddef.h> #include <linux/poison.h> +#include <linux/kernel.h> #ifndef ARCH_HAS_PREFETCH #define ARCH_HAS_PREFETCH
Signature · 1 line
2.18.0
PATCH 1/1 list: include linux/kernel.h
Hi,
Could anyone please help to review this patch?
Quoted 3 lines · Mark-PK Tsai
Hi,
Could anyone please help to review this patch?
It seems fine, but as nothing is currently breaking in-tree, it'll wait for -next. Thanks.
Signature · 1 line
Tom
Quoted 16 lines · Mark-PK Tsai
linux/list.husescontainer_of, therefore it depends onlinux/kernel.h. Sync from below linux commit:commit
8b21d9ca17ff8("list: includelinux/kernel.h")Signed-off-by Mark-PK Tsai <[email protected]>Cc YJ Chiang <[email protected]>--- include/linux/list.h | 1 + 1 file changed, 1 insertion(+)include/linux/list.h +0
-0
include/linux/list.h line 9
Quoted 7 lines
include/linux/list.h +1
-0@@ -3,6 +3,7 @@#include <linux/stddef.h> #include <linux/poison.h> +#include <linux/kernel.h> #ifndef ARCH_HAS_PREFETCH #define ARCH_HAS_PREFETCH
This causes sandbox to fail to build.
Signature · 1 line
Tom