All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: samsung: staticize fsd_pin_ctrl
@ 2022-03-31 19:45   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2022-03-31 19:45 UTC (permalink / raw)
  To: Tomasz Figa, Krzysztof Kozlowski, Sylwester Nawrocki,
	Alim Akhtar, Linus Walleij, Ajay Kumar, linux-arm-kernel,
	linux-samsung-soc, linux-gpio, linux-kernel
  Cc: Krzysztof Kozlowski, kernel test robot

struct fsd_pin_ctrl is not used outside of the file, so it can be made
static.  This fixes sparse warning:

  drivers/pinctrl/samsung/pinctrl-exynos-arm64.c:773:31: sparse:
    symbol 'fsd_pin_ctrl' was not declared. Should it be static?

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 0d1b662c374c ("pinctrl: samsung: add FSD SoC specific data")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/pinctrl/samsung/pinctrl-exynos-arm64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
index d291819c2f77..cb965cf93705 100644
--- a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
+++ b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
@@ -770,7 +770,7 @@ static const struct samsung_pin_bank_data fsd_pin_banks2[] __initconst = {
 	EXYNOS850_PIN_BANK_EINTN(3, 0x00, "gpq0"),
 };
 
-const struct samsung_pin_ctrl fsd_pin_ctrl[] __initconst = {
+static const struct samsung_pin_ctrl fsd_pin_ctrl[] __initconst = {
 	{
 		/* pin-controller instance 0 FSYS0 data */
 		.pin_banks	= fsd_pin_banks0,
-- 
2.32.0


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

* [PATCH] pinctrl: samsung: staticize fsd_pin_ctrl
@ 2022-03-31 19:45   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2022-03-31 19:45 UTC (permalink / raw)
  To: Tomasz Figa, Krzysztof Kozlowski, Sylwester Nawrocki,
	Alim Akhtar, Linus Walleij, Ajay Kumar, linux-arm-kernel,
	linux-samsung-soc, linux-gpio, linux-kernel
  Cc: Krzysztof Kozlowski, kernel test robot

struct fsd_pin_ctrl is not used outside of the file, so it can be made
static.  This fixes sparse warning:

  drivers/pinctrl/samsung/pinctrl-exynos-arm64.c:773:31: sparse:
    symbol 'fsd_pin_ctrl' was not declared. Should it be static?

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 0d1b662c374c ("pinctrl: samsung: add FSD SoC specific data")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/pinctrl/samsung/pinctrl-exynos-arm64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
index d291819c2f77..cb965cf93705 100644
--- a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
+++ b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
@@ -770,7 +770,7 @@ static const struct samsung_pin_bank_data fsd_pin_banks2[] __initconst = {
 	EXYNOS850_PIN_BANK_EINTN(3, 0x00, "gpq0"),
 };
 
-const struct samsung_pin_ctrl fsd_pin_ctrl[] __initconst = {
+static const struct samsung_pin_ctrl fsd_pin_ctrl[] __initconst = {
 	{
 		/* pin-controller instance 0 FSYS0 data */
 		.pin_banks	= fsd_pin_banks0,
-- 
2.32.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] 6+ messages in thread

* RE: [PATCH] pinctrl: samsung: staticize fsd_pin_ctrl
  2022-03-31 19:45   ` Krzysztof Kozlowski
@ 2022-04-01  5:14     ` Alim Akhtar
  -1 siblings, 0 replies; 6+ messages in thread
From: Alim Akhtar @ 2022-04-01  5:14 UTC (permalink / raw)
  To: 'Krzysztof Kozlowski', 'Tomasz Figa',
	'Krzysztof Kozlowski', 'Sylwester Nawrocki',
	'Linus Walleij', 'Ajay Kumar',
	linux-arm-kernel, linux-samsung-soc, linux-gpio, linux-kernel
  Cc: 'kernel test robot'



>-----Original Message-----
>From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski@linaro.org]
>Sent: Friday, April 1, 2022 1:15 AM
>To: Tomasz Figa <tomasz.figa@gmail.com>; Krzysztof Kozlowski
><krzk@kernel.org>; Sylwester Nawrocki <s.nawrocki@samsung.com>; Alim
>Akhtar <alim.akhtar@samsung.com>; Linus Walleij <linus.walleij@linaro.org>;
>Ajay Kumar <ajaykumar.rs@samsung.com>; linux-arm-
>kernel@lists.infradead.org; linux-samsung-soc@vger.kernel.org; linux-
>gpio@vger.kernel.org; linux-kernel@vger.kernel.org
>Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>; kernel test robot
><lkp@intel.com>
>Subject: [PATCH] pinctrl: samsung: staticize fsd_pin_ctrl
>
>struct fsd_pin_ctrl is not used outside of the file, so it can be made
static.  This
>fixes sparse warning:
>
>  drivers/pinctrl/samsung/pinctrl-exynos-arm64.c:773:31: sparse:
>    symbol 'fsd_pin_ctrl' was not declared. Should it be static?
>
>Reported-by: kernel test robot <lkp@intel.com>
>Fixes: 0d1b662c374c ("pinctrl: samsung: add FSD SoC specific data")
>Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>---

Thanks Krzysztof.

Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>

> drivers/pinctrl/samsung/pinctrl-exynos-arm64.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
>b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
>index d291819c2f77..cb965cf93705 100644
>--- a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
>+++ b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
>@@ -770,7 +770,7 @@ static const struct samsung_pin_bank_data
>fsd_pin_banks2[] __initconst = {
> 	EXYNOS850_PIN_BANK_EINTN(3, 0x00, "gpq0"),  };
>
>-const struct samsung_pin_ctrl fsd_pin_ctrl[] __initconst = {
>+static const struct samsung_pin_ctrl fsd_pin_ctrl[] __initconst = {
> 	{
> 		/* pin-controller instance 0 FSYS0 data */
> 		.pin_banks	= fsd_pin_banks0,
>--
>2.32.0



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

* RE: [PATCH] pinctrl: samsung: staticize fsd_pin_ctrl
@ 2022-04-01  5:14     ` Alim Akhtar
  0 siblings, 0 replies; 6+ messages in thread
From: Alim Akhtar @ 2022-04-01  5:14 UTC (permalink / raw)
  To: 'Krzysztof Kozlowski', 'Tomasz Figa',
	'Krzysztof Kozlowski', 'Sylwester Nawrocki',
	'Linus Walleij', 'Ajay	Kumar',
	linux-arm-kernel, linux-samsung-soc, linux-gpio, linux-kernel
  Cc: 'kernel test robot'



>-----Original Message-----
>From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski@linaro.org]
>Sent: Friday, April 1, 2022 1:15 AM
>To: Tomasz Figa <tomasz.figa@gmail.com>; Krzysztof Kozlowski
><krzk@kernel.org>; Sylwester Nawrocki <s.nawrocki@samsung.com>; Alim
>Akhtar <alim.akhtar@samsung.com>; Linus Walleij <linus.walleij@linaro.org>;
>Ajay Kumar <ajaykumar.rs@samsung.com>; linux-arm-
>kernel@lists.infradead.org; linux-samsung-soc@vger.kernel.org; linux-
>gpio@vger.kernel.org; linux-kernel@vger.kernel.org
>Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>; kernel test robot
><lkp@intel.com>
>Subject: [PATCH] pinctrl: samsung: staticize fsd_pin_ctrl
>
>struct fsd_pin_ctrl is not used outside of the file, so it can be made
static.  This
>fixes sparse warning:
>
>  drivers/pinctrl/samsung/pinctrl-exynos-arm64.c:773:31: sparse:
>    symbol 'fsd_pin_ctrl' was not declared. Should it be static?
>
>Reported-by: kernel test robot <lkp@intel.com>
>Fixes: 0d1b662c374c ("pinctrl: samsung: add FSD SoC specific data")
>Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>---

Thanks Krzysztof.

Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>

> drivers/pinctrl/samsung/pinctrl-exynos-arm64.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
>b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
>index d291819c2f77..cb965cf93705 100644
>--- a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
>+++ b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
>@@ -770,7 +770,7 @@ static const struct samsung_pin_bank_data
>fsd_pin_banks2[] __initconst = {
> 	EXYNOS850_PIN_BANK_EINTN(3, 0x00, "gpq0"),  };
>
>-const struct samsung_pin_ctrl fsd_pin_ctrl[] __initconst = {
>+static const struct samsung_pin_ctrl fsd_pin_ctrl[] __initconst = {
> 	{
> 		/* pin-controller instance 0 FSYS0 data */
> 		.pin_banks	= fsd_pin_banks0,
>--
>2.32.0



_______________________________________________
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] pinctrl: samsung: staticize fsd_pin_ctrl
  2022-03-31 19:45   ` Krzysztof Kozlowski
@ 2022-04-04 16:59     ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2022-04-04 16:59 UTC (permalink / raw)
  To: Alim Akhtar, Linus Walleij, Tomasz Figa, Krzysztof Kozlowski,
	linux-samsung-soc, Sylwester Nawrocki, linux-arm-kernel,
	Ajay Kumar, linux-gpio, Krzysztof Kozlowski, linux-kernel
  Cc: kernel test robot

On Thu, 31 Mar 2022 21:45:26 +0200, Krzysztof Kozlowski wrote:
> struct fsd_pin_ctrl is not used outside of the file, so it can be made
> static.  This fixes sparse warning:
> 
>   drivers/pinctrl/samsung/pinctrl-exynos-arm64.c:773:31: sparse:
>     symbol 'fsd_pin_ctrl' was not declared. Should it be static?
> 
> 
> [...]

Applied, thanks!

[1/1] pinctrl: samsung: staticize fsd_pin_ctrl
      commit: abb860ac7e3f022a233f34b12d035d49abfc114d

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.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] pinctrl: samsung: staticize fsd_pin_ctrl
@ 2022-04-04 16:59     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2022-04-04 16:59 UTC (permalink / raw)
  To: Alim Akhtar, Linus Walleij, Tomasz Figa, Krzysztof Kozlowski,
	linux-samsung-soc, Sylwester Nawrocki, linux-arm-kernel,
	Ajay Kumar, linux-gpio, Krzysztof Kozlowski, linux-kernel
  Cc: kernel test robot

On Thu, 31 Mar 2022 21:45:26 +0200, Krzysztof Kozlowski wrote:
> struct fsd_pin_ctrl is not used outside of the file, so it can be made
> static.  This fixes sparse warning:
> 
>   drivers/pinctrl/samsung/pinctrl-exynos-arm64.c:773:31: sparse:
>     symbol 'fsd_pin_ctrl' was not declared. Should it be static?
> 
> 
> [...]

Applied, thanks!

[1/1] pinctrl: samsung: staticize fsd_pin_ctrl
      commit: abb860ac7e3f022a233f34b12d035d49abfc114d

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

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

end of thread, other threads:[~2022-04-04 21:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20220331194535epcas5p12503b9e75eb7e1147c1f6ab4548756ac@epcas5p1.samsung.com>
2022-03-31 19:45 ` [PATCH] pinctrl: samsung: staticize fsd_pin_ctrl Krzysztof Kozlowski
2022-03-31 19:45   ` Krzysztof Kozlowski
2022-04-01  5:14   ` Alim Akhtar
2022-04-01  5:14     ` Alim Akhtar
2022-04-04 16:59   ` Krzysztof Kozlowski
2022-04-04 16:59     ` Krzysztof Kozlowski

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.