All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>, kernel test robot <lkp@intel.com>
Subject: [PATCH] ARM: s3c: include header for prototype of s3c2410_modify_misccr
Date: Thu, 11 Nov 2021 10:11:23 +0100	[thread overview]
Message-ID: <20211111091123.50853-1-krzysztof.kozlowski@canonical.com> (raw)

Include the header with prototype of s3c2410_modify_misccr to fix W=1
warning:

  arch/arm/mach-s3c/gpio-samsung.c:1309:14: warning:
    no previous prototype for ‘s3c2410_modify_misccr’ [-Wmissing-prototypes]

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 arch/arm/mach-s3c/gpio-samsung.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-s3c/gpio-samsung.c b/arch/arm/mach-s3c/gpio-samsung.c
index 76ef415789f2..fda2c01f5a08 100644
--- a/arch/arm/mach-s3c/gpio-samsung.c
+++ b/arch/arm/mach-s3c/gpio-samsung.c
@@ -35,6 +35,7 @@
 #include "gpio-core.h"
 #include "gpio-cfg.h"
 #include "gpio-cfg-helpers.h"
+#include "hardware-s3c24xx.h"
 #include "pm.h"
 
 int samsung_gpio_setpull_updown(struct samsung_gpio_chip *chip,
-- 
2.32.0


WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>, kernel test robot <lkp@intel.com>
Subject: [PATCH] ARM: s3c: include header for prototype of s3c2410_modify_misccr
Date: Thu, 11 Nov 2021 10:11:23 +0100	[thread overview]
Message-ID: <20211111091123.50853-1-krzysztof.kozlowski@canonical.com> (raw)

Include the header with prototype of s3c2410_modify_misccr to fix W=1
warning:

  arch/arm/mach-s3c/gpio-samsung.c:1309:14: warning:
    no previous prototype for ‘s3c2410_modify_misccr’ [-Wmissing-prototypes]

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 arch/arm/mach-s3c/gpio-samsung.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-s3c/gpio-samsung.c b/arch/arm/mach-s3c/gpio-samsung.c
index 76ef415789f2..fda2c01f5a08 100644
--- a/arch/arm/mach-s3c/gpio-samsung.c
+++ b/arch/arm/mach-s3c/gpio-samsung.c
@@ -35,6 +35,7 @@
 #include "gpio-core.h"
 #include "gpio-cfg.h"
 #include "gpio-cfg-helpers.h"
+#include "hardware-s3c24xx.h"
 #include "pm.h"
 
 int samsung_gpio_setpull_updown(struct samsung_gpio_chip *chip,
-- 
2.32.0


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

             reply	other threads:[~2021-11-11  9:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-11  9:11 Krzysztof Kozlowski [this message]
2021-11-11  9:11 ` [PATCH] ARM: s3c: include header for prototype of s3c2410_modify_misccr Krzysztof Kozlowski
2021-11-11  9:46 ` Arnd Bergmann
2021-11-11  9:46   ` Arnd Bergmann
2021-11-11  9:56   ` Krzysztof Kozlowski
2021-11-11  9:56     ` Krzysztof Kozlowski
2021-11-11 16:41     ` Arnd Bergmann
2021-11-11 16:41       ` Arnd Bergmann
2021-11-11 16:28 ` Alim Akhtar
2021-11-11 16:28   ` Alim Akhtar
2021-11-15 13:11 ` Krzysztof Kozlowski
2021-11-15 13:11   ` Krzysztof Kozlowski

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=20211111091123.50853-1-krzysztof.kozlowski@canonical.com \
    --to=krzysztof.kozlowski@canonical.com \
    --cc=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=lkp@intel.com \
    /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 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.