linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: omap2: make omap5_erratum_workaround_801819 static
@ 2020-05-11 12:21 Ma Feng
  2020-05-12 15:39 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Ma Feng @ 2020-05-11 12:21 UTC (permalink / raw)
  To: tony; +Cc: linux-omap, linux-kernel, linux-arm-kernel

Fix sparse warning:

arch/arm/mach-omap2/omap-smp.c:75:6: warning: symbol
'omap5_erratum_workaround_801819' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Ma Feng <mafeng.ma@huawei.com>
---
 arch/arm/mach-omap2/omap-smp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-omap2/omap-smp.c b/arch/arm/mach-omap2/omap-smp.c
index 6a82fce..570a987e 100644
--- a/arch/arm/mach-omap2/omap-smp.c
+++ b/arch/arm/mach-omap2/omap-smp.c
@@ -72,7 +72,7 @@ void __iomem *omap4_get_scu_base(void)
 }

 #ifdef CONFIG_OMAP5_ERRATA_801819
-void omap5_erratum_workaround_801819(void)
+static void omap5_erratum_workaround_801819(void)
 {
 	u32 acr, revidr;
 	u32 acr_mask;
--
2.6.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: omap2: make omap5_erratum_workaround_801819 static
  2020-05-11 12:21 [PATCH] ARM: omap2: make omap5_erratum_workaround_801819 static Ma Feng
@ 2020-05-12 15:39 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2020-05-12 15:39 UTC (permalink / raw)
  To: Ma Feng; +Cc: linux-omap, linux-kernel, linux-arm-kernel

* Ma Feng <mafeng.ma@huawei.com> [200511 05:16]:
> Fix sparse warning:
> 
> arch/arm/mach-omap2/omap-smp.c:75:6: warning: symbol
> 'omap5_erratum_workaround_801819' was not declared. Should it be static?
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Ma Feng <mafeng.ma@huawei.com>

Applying into omap-for-v5.8/soc thanks.

Tony

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-12 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 12:21 [PATCH] ARM: omap2: make omap5_erratum_workaround_801819 static Ma Feng
2020-05-12 15:39 ` Tony Lindgren

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).