generic: 5.15: backport bcm63xx wdt patch fixing fallthrough warning
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 6 May 2023 08:36:48 +0000 (10:36 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 12 May 2023 01:15:35 +0000 (03:15 +0200)
commit77ecc2844b5172cbb23d2beabd4b21e9b57d97bb
tree0d51f3462310226ad46f705ec9582659b04f404c
parent4b1dc7d31af2ae191a7daa0804d226a404458d2a
generic: 5.15: backport bcm63xx wdt patch fixing fallthrough warning

Backport patch present upstream fixing error for bcm63xx:
drivers/watchdog/bcm63xx_wdt.c: In function 'bcm63xx_wdt_ioctl':
drivers/watchdog/bcm63xx_wdt.c:208:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
  208 |                 bcm63xx_wdt_pet();
      |                 ^~~~~~~~~~~~~~~~~
drivers/watchdog/bcm63xx_wdt.c:210:9: note: here
  210 |         case WDIOC_GETTIMEOUT:
      |         ^~~~
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/generic/backport-5.15/302-v5.16-watchdog-bcm63xx_wdt-fix-fallthrough-warning.patch [new file with mode: 0644]