* [PATCH] list: include linux/kernel.h
@ 2014-08-25 11:24 Masahiro Yamada
0 siblings, 0 replies; 5+ messages in thread
From: Masahiro Yamada @ 2014-08-25 11:24 UTC (permalink / raw)
To: linux-kernel
Cc: Linus Torvalds, Masahiro Yamada, Andrew Morton, Oleg Nesterov,
Ken Helias, Jeff Kirsher
linux/list.h uses container_of, therefore it depends on
linux/kernel.h.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---
I am sending this patch to LKML because I could not find
the subsystem it should belong to.
I hope I am not doing wrong.
include/linux/list.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/list.h b/include/linux/list.h
index cbbb96f..f33f831 100644
--- a/include/linux/list.h
+++ b/include/linux/list.h
@@ -5,6 +5,7 @@
#include <linux/stddef.h>
#include <linux/poison.h>
#include <linux/const.h>
+#include <linux/kernel.h>
/*
* Simple doubly linked list implementation.
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH] list: include linux/kernel.h
@ 2021-08-25 3:58 Mark-PK Tsai
2021-08-30 5:59 ` Mark-PK Tsai
2021-09-02 13:51 ` Tom Rini
0 siblings, 2 replies; 5+ messages in thread
From: Mark-PK Tsai @ 2021-08-25 3:58 UTC (permalink / raw)
To: u-boot; +Cc: mark-pk.tsai, yj.chiang
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 <mark-pk.tsai@mediatek.com>
Cc: YJ Chiang <yj.chiang@mediatek.com>
---
include/linux/list.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/list.h b/include/linux/list.h
index f62afa092c..5320c04bf3 100644
--- a/include/linux/list.h
+++ b/include/linux/list.h
@@ -3,6 +3,7 @@
#include <linux/stddef.h>
#include <linux/poison.h>
+#include <linux/kernel.h>
#ifndef ARCH_HAS_PREFETCH
#define ARCH_HAS_PREFETCH
--
2.18.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH] list: include linux/kernel.h
2021-08-25 3:58 Mark-PK Tsai
@ 2021-08-30 5:59 ` Mark-PK Tsai
2021-08-30 14:14 ` Tom Rini
2021-09-02 13:51 ` Tom Rini
1 sibling, 1 reply; 5+ messages in thread
From: Mark-PK Tsai @ 2021-08-30 5:59 UTC (permalink / raw)
To: mark-pk.tsai, u-boot; +Cc: yj.chiang
Hi,
Could anyone please help to review this patch?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] list: include linux/kernel.h
2021-08-30 5:59 ` Mark-PK Tsai
@ 2021-08-30 14:14 ` Tom Rini
0 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2021-08-30 14:14 UTC (permalink / raw)
To: Mark-PK Tsai; +Cc: u-boot, yj.chiang
[-- Attachment #1: Type: text/plain, Size: 234 bytes --]
On Mon, Aug 30, 2021 at 01:59:56PM +0800, Mark-PK Tsai wrote:
> 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.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] list: include linux/kernel.h
2021-08-25 3:58 Mark-PK Tsai
2021-08-30 5:59 ` Mark-PK Tsai
@ 2021-09-02 13:51 ` Tom Rini
1 sibling, 0 replies; 5+ messages in thread
From: Tom Rini @ 2021-09-02 13:51 UTC (permalink / raw)
To: Mark-PK Tsai; +Cc: u-boot, yj.chiang
[-- Attachment #1: Type: text/plain, Size: 807 bytes --]
On Wed, Aug 25, 2021 at 11:58:52AM +0800, Mark-PK Tsai wrote:
> 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 <mark-pk.tsai@mediatek.com>
> Cc: YJ Chiang <yj.chiang@mediatek.com>
> ---
> include/linux/list.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/list.h b/include/linux/list.h
> index f62afa092c..5320c04bf3 100644
> --- a/include/linux/list.h
> +++ b/include/linux/list.h
> @@ -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.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-09-02 13:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-25 11:24 [PATCH] list: include linux/kernel.h Masahiro Yamada
2021-08-25 3:58 Mark-PK Tsai
2021-08-30 5:59 ` Mark-PK Tsai
2021-08-30 14:14 ` Tom Rini
2021-09-02 13:51 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.