All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark-PK Tsai <mark-pk.tsai@mediatek.com>
To: <u-boot@lists.denx.de>
Cc: <mark-pk.tsai@mediatek.com>, <yj.chiang@mediatek.com>
Subject: [PATCH] list: include linux/kernel.h
Date: Wed, 25 Aug 2021 11:58:52 +0800	[thread overview]
Message-ID: <20210825035852.1456-1-mark-pk.tsai@mediatek.com> (raw)

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


             reply	other threads:[~2021-08-25 11:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-25  3:58 Mark-PK Tsai [this message]
2021-08-30  5:59 ` [PATCH] list: include linux/kernel.h Mark-PK Tsai
2021-08-30 14:14   ` Tom Rini
2021-09-02 13:51 ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2014-08-25 11:24 Masahiro Yamada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210825035852.1456-1-mark-pk.tsai@mediatek.com \
    --to=mark-pk.tsai@mediatek.com \
    --cc=u-boot@lists.denx.de \
    --cc=yj.chiang@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.