public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: Christoph Hellwig <hch@lst.de>
Cc: torvalds@linux-foundation.org, x86@kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86: make setup.c build again
Date: Wed, 1 Sep 2021 09:33:08 +0200	[thread overview]
Message-ID: <YS8stOCBCdfZ+J0Y@zn.tnic> (raw)
In-Reply-To: <20210901071232.1258388-1-hch@lst.de>

On Wed, Sep 01, 2021 at 09:12:32AM +0200, Christoph Hellwig wrote:
> Add a <linux/acpi.h> include to setup.c to ensure it compiles without
> any config-dependent implicit includes of that header.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  arch/x86/kernel/setup.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
> index 63b20536c8d23..6edec9a28293e 100644
> --- a/arch/x86/kernel/setup.c
> +++ b/arch/x86/kernel/setup.c
> @@ -22,6 +22,7 @@
>  #include <linux/usb/xhci-dbgp.h>
>  #include <linux/static_call.h>
>  #include <linux/swiotlb.h>
> +#include <linux/acpi.h>
>  
>  #include <uapi/linux/mount.h>
>  
> -- 

There's an identical fix

https://lkml.kernel.org/r/20210901021510.1561219-1-nathan@kernel.org

which explains why it happens but I'm fine with whichever one Linus
picks up.

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

  reply	other threads:[~2021-09-01  7:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-01  7:12 [PATCH] x86: make setup.c build again Christoph Hellwig
2021-09-01  7:33 ` Borislav Petkov [this message]
2021-09-01  7:42   ` Christoph Hellwig

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=YS8stOCBCdfZ+J0Y@zn.tnic \
    --to=bp@alien8.de \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=x86@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox