All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: ep93xx: Make ts72xx_register_flash() static
@ 2022-05-23  6:56 ` Alexander Sverdlin
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Sverdlin @ 2022-05-23  6:56 UTC (permalink / raw)
  To: soc
  Cc: Alexander Sverdlin, Lukasz Majewski, Hartley Sweeten,
	Russell King, linux-arm-kernel, linux-kernel, kernel test robot

... and fix the warning/error:

arch/arm/mach-ep93xx/ts72xx.c:154:13: error: no previous prototype for function 'ts72xx_register_flash' [-Werror,-Wmissing-prototypes]
void __init ts72xx_register_flash(struct mtd_partition *parts, int n,
            ^
arch/arm/mach-ep93xx/ts72xx.c:154:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init ts72xx_register_flash(struct mtd_partition *parts, int n,
^
static

Link: https://lore.kernel.org/lkml/202202140141.HRZ3WZwi-lkp@intel.com/T/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
---
 arch/arm/mach-ep93xx/ts72xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-ep93xx/ts72xx.c b/arch/arm/mach-ep93xx/ts72xx.c
index e70bac011407..d3de7283ecb3 100644
--- a/arch/arm/mach-ep93xx/ts72xx.c
+++ b/arch/arm/mach-ep93xx/ts72xx.c
@@ -150,7 +150,7 @@ static struct platform_device ts72xx_nand_flash = {
 	.num_resources		= ARRAY_SIZE(ts72xx_nand_resource),
 };
 
-void __init ts72xx_register_flash(struct mtd_partition *parts, int n,
+static void __init ts72xx_register_flash(struct mtd_partition *parts, int n,
 				  resource_size_t start)
 {
 	/*
-- 
2.36.0


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

* [PATCH] ARM: ep93xx: Make ts72xx_register_flash() static
@ 2022-05-23  6:56 ` Alexander Sverdlin
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Sverdlin @ 2022-05-23  6:56 UTC (permalink / raw)
  To: soc
  Cc: Alexander Sverdlin, Lukasz Majewski, Hartley Sweeten,
	Russell King, linux-arm-kernel, linux-kernel, kernel test robot

... and fix the warning/error:

arch/arm/mach-ep93xx/ts72xx.c:154:13: error: no previous prototype for function 'ts72xx_register_flash' [-Werror,-Wmissing-prototypes]
void __init ts72xx_register_flash(struct mtd_partition *parts, int n,
            ^
arch/arm/mach-ep93xx/ts72xx.c:154:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init ts72xx_register_flash(struct mtd_partition *parts, int n,
^
static

Link: https://lore.kernel.org/lkml/202202140141.HRZ3WZwi-lkp@intel.com/T/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
---
 arch/arm/mach-ep93xx/ts72xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-ep93xx/ts72xx.c b/arch/arm/mach-ep93xx/ts72xx.c
index e70bac011407..d3de7283ecb3 100644
--- a/arch/arm/mach-ep93xx/ts72xx.c
+++ b/arch/arm/mach-ep93xx/ts72xx.c
@@ -150,7 +150,7 @@ static struct platform_device ts72xx_nand_flash = {
 	.num_resources		= ARRAY_SIZE(ts72xx_nand_resource),
 };
 
-void __init ts72xx_register_flash(struct mtd_partition *parts, int n,
+static void __init ts72xx_register_flash(struct mtd_partition *parts, int n,
 				  resource_size_t start)
 {
 	/*
-- 
2.36.0


_______________________________________________
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] 3+ messages in thread

* Re: [PATCH] ARM: ep93xx: Make ts72xx_register_flash() static
  2022-05-23  6:56 ` Alexander Sverdlin
  (?)
@ 2022-05-27 14:20 ` patchwork-bot+linux-soc
  -1 siblings, 0 replies; 3+ messages in thread
From: patchwork-bot+linux-soc @ 2022-05-27 14:20 UTC (permalink / raw)
  To: Alexander Sverdlin; +Cc: soc

Hello:

This patch was applied to soc/soc.git (for-next)
by Arnd Bergmann <arnd@arndb.de>:

On Mon, 23 May 2022 08:56:16 +0200 you wrote:
> ... and fix the warning/error:
> 
> arch/arm/mach-ep93xx/ts72xx.c:154:13: error: no previous prototype for function 'ts72xx_register_flash' [-Werror,-Wmissing-prototypes]
> void __init ts72xx_register_flash(struct mtd_partition *parts, int n,
>             ^
> arch/arm/mach-ep93xx/ts72xx.c:154:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
> void __init ts72xx_register_flash(struct mtd_partition *parts, int n,
> ^
> static
> 
> [...]

Here is the summary with links:
  - ARM: ep93xx: Make ts72xx_register_flash() static
    https://git.kernel.org/soc/soc/c/75577fbecb2e

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2022-05-27 14:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-23  6:56 [PATCH] ARM: ep93xx: Make ts72xx_register_flash() static Alexander Sverdlin
2022-05-23  6:56 ` Alexander Sverdlin
2022-05-27 14:20 ` patchwork-bot+linux-soc

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.