archive mirror
 help / color / mirror / Atom feed
From: Valentin Schneider <>
To: Arnd Bergmann <>, Ingo Molnar <>
Cc: Arnd Bergmann <>,
	Peter Zijlstra <>,
Subject: Re: [PATCH] smpboot: remove duplicate inline keyword
Date: Fri, 23 Jul 2021 16:27:01 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>


On 23/07/21 11:16, Arnd Bergmann wrote:
> From: Arnd Bergmann <>
> 'static inline void __always_inline' is one more 'inline' than needed,
> and it's in the wrong place as gcc points out when extra warnings
> are enabled:
> kernel/smpboot.c:50:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]
>    50 | static inline void __always_inline idle_init(unsigned int cpu)
> Move it to the right place instead.
> Fixes: e9ba16e68cce ("smpboot: Mark idle_init() as __always_inlined to work around aggressive compiler un-inlining")
> Signed-off-by: Arnd Bergmann <>

Colin sent a similar fix at:

Now AFAICT the incriminated patch is in tip/core/urgent and
linux-next/master, but not in the current mainline. If so, this could be
fixed up before it gets pulled.

      reply	other threads:[~2021-07-23 15:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-23  9:16 Arnd Bergmann
2021-07-23 15:27 ` Valentin Schneider [this message]

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:

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

  git send-email \ \ \ \ \ \ \ \
    --subject='Re: [PATCH] smpboot: remove duplicate inline keyword' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).