All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Mark-PK Tsai <mark-pk.tsai@mediatek.com>
Cc: u-boot@lists.denx.de, yj.chiang@mediatek.com
Subject: Re: [PATCH] list: include linux/kernel.h
Date: Thu, 2 Sep 2021 09:51:53 -0400	[thread overview]
Message-ID: <20210902135153.GA23542@bill-the-cat> (raw)
In-Reply-To: <20210825035852.1456-1-mark-pk.tsai@mediatek.com>

[-- 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 --]

  parent reply	other threads:[~2021-09-02 13:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-25  3:58 [PATCH] list: include linux/kernel.h 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 message]
  -- 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=20210902135153.GA23542@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=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.