All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] clk: imx: scu: Make pd_np with static keyword
@ 2020-11-04 11:19 ` Zou Wei
  0 siblings, 0 replies; 6+ messages in thread
From: Zou Wei @ 2020-11-04 11:19 UTC (permalink / raw)
  To: mturquette, sboyd, shawnguo, s.hauer, kernel, festevam, linux-imx
  Cc: linux-clk, linux-arm-kernel, linux-kernel, Zou Wei

Fix the following sparse warning:

./clk-scu.c:23:20: warning: symbol 'pd_np' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
---
 drivers/clk/imx/clk-scu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/imx/clk-scu.c b/drivers/clk/imx/clk-scu.c
index d0243c5..d10f60e 100644
--- a/drivers/clk/imx/clk-scu.c
+++ b/drivers/clk/imx/clk-scu.c
@@ -20,7 +20,7 @@
 #define IMX_SIP_SET_CPUFREQ		0x00
 
 static struct imx_sc_ipc *ccm_ipc_handle;
-struct device_node *pd_np;
+static struct device_node *pd_np;
 static struct platform_driver imx_clk_scu_driver;
 
 struct imx_scu_clk_node {
-- 
2.6.2


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

* [PATCH -next] clk: imx: scu: Make pd_np with static keyword
@ 2020-11-04 11:19 ` Zou Wei
  0 siblings, 0 replies; 6+ messages in thread
From: Zou Wei @ 2020-11-04 11:19 UTC (permalink / raw)
  To: mturquette, sboyd, shawnguo, s.hauer, kernel, festevam, linux-imx
  Cc: Zou Wei, linux-clk, linux-arm-kernel, linux-kernel

Fix the following sparse warning:

./clk-scu.c:23:20: warning: symbol 'pd_np' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
---
 drivers/clk/imx/clk-scu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/imx/clk-scu.c b/drivers/clk/imx/clk-scu.c
index d0243c5..d10f60e 100644
--- a/drivers/clk/imx/clk-scu.c
+++ b/drivers/clk/imx/clk-scu.c
@@ -20,7 +20,7 @@
 #define IMX_SIP_SET_CPUFREQ		0x00
 
 static struct imx_sc_ipc *ccm_ipc_handle;
-struct device_node *pd_np;
+static struct device_node *pd_np;
 static struct platform_driver imx_clk_scu_driver;
 
 struct imx_scu_clk_node {
-- 
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] 6+ messages in thread

* Re: [PATCH -next] clk: imx: scu: Make pd_np with static keyword
  2020-11-04 11:19 ` Zou Wei
@ 2020-11-05  1:37   ` Stephen Boyd
  -1 siblings, 0 replies; 6+ messages in thread
From: Stephen Boyd @ 2020-11-05  1:37 UTC (permalink / raw)
  To: Zou Wei, festevam, kernel, linux-imx, mturquette, s.hauer, shawnguo
  Cc: linux-clk, linux-arm-kernel, linux-kernel, Zou Wei

Quoting Zou Wei (2020-11-04 03:19:31)
> Fix the following sparse warning:
> 
> ./clk-scu.c:23:20: warning: symbol 'pd_np' was not declared. Should it be static?
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zou Wei <zou_wei@huawei.com>
> ---

Reviewed-by: Stephen Boyd <sboyd@kernel.org>

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

* Re: [PATCH -next] clk: imx: scu: Make pd_np with static keyword
@ 2020-11-05  1:37   ` Stephen Boyd
  0 siblings, 0 replies; 6+ messages in thread
From: Stephen Boyd @ 2020-11-05  1:37 UTC (permalink / raw)
  To: Zou Wei, festevam, kernel, linux-imx, mturquette, s.hauer, shawnguo
  Cc: Zou Wei, linux-clk, linux-arm-kernel, linux-kernel

Quoting Zou Wei (2020-11-04 03:19:31)
> Fix the following sparse warning:
> 
> ./clk-scu.c:23:20: warning: symbol 'pd_np' was not declared. Should it be static?
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zou Wei <zou_wei@huawei.com>
> ---

Reviewed-by: Stephen Boyd <sboyd@kernel.org>

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

* Re: [PATCH -next] clk: imx: scu: Make pd_np with static keyword
  2020-11-04 11:19 ` Zou Wei
@ 2020-11-10  2:17   ` Shawn Guo
  -1 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2020-11-10  2:17 UTC (permalink / raw)
  To: Zou Wei
  Cc: mturquette, sboyd, s.hauer, kernel, festevam, linux-imx,
	linux-clk, linux-arm-kernel, linux-kernel

On Wed, Nov 04, 2020 at 07:19:31PM +0800, Zou Wei wrote:
> Fix the following sparse warning:
> 
> ./clk-scu.c:23:20: warning: symbol 'pd_np' was not declared. Should it be static?
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zou Wei <zou_wei@huawei.com>

Applied, thanks.

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

* Re: [PATCH -next] clk: imx: scu: Make pd_np with static keyword
@ 2020-11-10  2:17   ` Shawn Guo
  0 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2020-11-10  2:17 UTC (permalink / raw)
  To: Zou Wei
  Cc: sboyd, mturquette, linux-kernel, linux-clk, linux-imx, kernel,
	festevam, s.hauer, linux-arm-kernel

On Wed, Nov 04, 2020 at 07:19:31PM +0800, Zou Wei wrote:
> Fix the following sparse warning:
> 
> ./clk-scu.c:23:20: warning: symbol 'pd_np' was not declared. Should it be static?
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zou Wei <zou_wei@huawei.com>

Applied, thanks.

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

end of thread, other threads:[~2020-11-10  2:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-04 11:19 [PATCH -next] clk: imx: scu: Make pd_np with static keyword Zou Wei
2020-11-04 11:19 ` Zou Wei
2020-11-05  1:37 ` Stephen Boyd
2020-11-05  1:37   ` Stephen Boyd
2020-11-10  2:17 ` Shawn Guo
2020-11-10  2:17   ` Shawn Guo

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.