All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

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.