Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
From ee1a0696934a8b77a6a2098f92832c46d34ec5da Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
|
Date: Wed, 27 Oct 2021 14:31:35 +0200
|
|
Subject: [PATCH] watchdog: bcm63xx_wdt: fix fallthrough warning
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
This fixes:
|
|
drivers/watchdog/bcm63xx_wdt.c: In function 'bcm63xx_wdt_ioctl':
|
|
drivers/watchdog/bcm63xx_wdt.c:208:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
|
|
|
|
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
|
|
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
|
|
Link: https://lore.kernel.org/r/20211027123135.27458-1-zajec5@gmail.com
|
|
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
|
|
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
|
|
---
|
|
drivers/watchdog/bcm63xx_wdt.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/drivers/watchdog/bcm63xx_wdt.c
|
|
+++ b/drivers/watchdog/bcm63xx_wdt.c
|
|
@@ -207,6 +207,8 @@ static long bcm63xx_wdt_ioctl(struct fil
|
|
|
|
bcm63xx_wdt_pet();
|
|
|
|
+ fallthrough;
|
|
+
|
|
case WDIOC_GETTIMEOUT:
|
|
return put_user(wdt_time, p);
|
|
|