All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Yue Zou <zouyue3@huawei.com>,
	sfr@canb.auug.org.au, akpm@linux-foundation.org,
	mhiramat@kernel.org, rostedt@goodmis.org, ahalaney@redhat.com,
	vbabka@suse.cz, Jason@zx2c4.com, mark-pk.tsai@mediatek.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] smp: Move stub from main.c into smp.h
Date: Thu, 02 Jun 2022 20:58:56 +0200	[thread overview]
Message-ID: <87ilpievtb.ffs@tglx> (raw)
In-Reply-To: <20220528111122.1888581-1-zouyue3@huawei.com>

On Sat, May 28 2022 at 11:11, Yue Zou wrote:
>  #else /* !SMP */
>  
> +static const unsigned int setup_max_cpus = NR_CPUS;

This will cause a 'defined but not used warning' for all files which
include smp.h, except for init/main.c

Thanks,

        tglx




      parent reply	other threads:[~2022-06-02 18:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-28 11:11 [PATCH -next] smp: Move stub from main.c into smp.h Yue Zou
2022-05-28 12:26 ` kernel test robot
2022-05-28 12:57 ` kernel test robot
2022-06-02 18:58 ` Thomas Gleixner [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:
  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=87ilpievtb.ffs@tglx \
    --to=tglx@linutronix.de \
    --cc=Jason@zx2c4.com \
    --cc=ahalaney@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark-pk.tsai@mediatek.com \
    --cc=mhiramat@kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=sfr@canb.auug.org.au \
    --cc=vbabka@suse.cz \
    --cc=zouyue3@huawei.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.