From: Shawn Guo <shawnguo@kernel.org>
To: Fabio Estevam <festevam@denx.de>
Cc: linux-arm-kernel@lists.infradead.org, marex@denx.de,
kernel test robot <lkp@intel.com>
Subject: Re: [PATCH] imx: common: Move prototype outside the SMP block
Date: Wed, 14 Jul 2021 15:30:00 +0800 [thread overview]
Message-ID: <20210714072959.GE4419@dragon> (raw)
In-Reply-To: <20210617145415.37440-1-festevam@denx.de>
On Thu, Jun 17, 2021 at 11:54:15AM -0300, Fabio Estevam wrote:
> Currently the imx_gpcv2_set_core1_pdn_pup_by_software() prototype is
> guarded by the CONFIG_SMP symbol. This causes W=1 build warnings when
> CONFIG_SMP is not selected:
>
> arch/arm/mach-imx/src.c:103:6: warning: no previous prototype for 'imx_gpcv2_set_core1_pdn_pup_by_software' [-Wmissing-prototypes]
>
> Fix it by moving the imx_gpcv2_set_core1_pdn_pup_by_software() prototype
> outside of the CONFIG_SMP block.
>
> Fixes: e34645f45805 ("ARM: imx: add smp support for imx7d")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Fabio Estevam <festevam@denx.de>
Updated the subject prefix like 'ARM: imx: ...', and applied.
Shawn
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
prev parent reply other threads:[~2021-07-14 7:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-17 14:54 [PATCH] imx: common: Move prototype outside the SMP block Fabio Estevam
2021-07-14 7:30 ` Shawn Guo [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=20210714072959.GE4419@dragon \
--to=shawnguo@kernel.org \
--cc=festevam@denx.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=lkp@intel.com \
--cc=marex@denx.de \
/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