* [PATCH] drivers/watchdog: fix checkpatch error
@ 2023-09-22 20:10 Nikita Bune
2023-09-22 20:33 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Nikita Bune @ 2023-09-22 20:10 UTC (permalink / raw)
To: Wim Van Sebroeck, Guenter Roeck, Kunihiko Hayashi, Masami Hiramatsu
Cc: Nikita Bune, linux-watchdog, linux-arm-kernel, linux-kernel
Fix checkpatch ERROR: do not initialise statics to 0
Signed-off-by: Nikita Bune <w1s2d5@gmail.com>
---
drivers/watchdog/uniphier_wdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/uniphier_wdt.c b/drivers/watchdog/uniphier_wdt.c
index 8e9242c23022..7a080600d865 100644
--- a/drivers/watchdog/uniphier_wdt.c
+++ b/drivers/watchdog/uniphier_wdt.c
@@ -41,7 +41,7 @@
#define WDT_PERIOD_MIN 1
#define WDT_PERIOD_MAX 128
-static unsigned int timeout = 0;
+static unsigned int timeout;
static bool nowayout = WATCHDOG_NOWAYOUT;
struct uniphier_wdt_dev {
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] drivers/watchdog: fix checkpatch error
2023-09-22 20:10 [PATCH] drivers/watchdog: fix checkpatch error Nikita Bune
@ 2023-09-22 20:33 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2023-09-22 20:33 UTC (permalink / raw)
To: Nikita Bune, Wim Van Sebroeck, Kunihiko Hayashi, Masami Hiramatsu
Cc: linux-watchdog, linux-arm-kernel, linux-kernel
On 9/22/23 13:10, Nikita Bune wrote:
> Fix checkpatch ERROR: do not initialise statics to 0
>
> Signed-off-by: Nikita Bune <w1s2d5@gmail.com>
Not applying. Please stop submitting such cosmetic patches.
Also please note that the subject should start with "<subsystem>: <driver>:".
Guenter
> ---
> drivers/watchdog/uniphier_wdt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/watchdog/uniphier_wdt.c b/drivers/watchdog/uniphier_wdt.c
> index 8e9242c23022..7a080600d865 100644
> --- a/drivers/watchdog/uniphier_wdt.c
> +++ b/drivers/watchdog/uniphier_wdt.c
> @@ -41,7 +41,7 @@
> #define WDT_PERIOD_MIN 1
> #define WDT_PERIOD_MAX 128
>
> -static unsigned int timeout = 0;
> +static unsigned int timeout;
> static bool nowayout = WATCHDOG_NOWAYOUT;
>
> struct uniphier_wdt_dev {
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-22 20:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-22 20:10 [PATCH] drivers/watchdog: fix checkpatch error Nikita Bune
2023-09-22 20:33 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®