https://github.com/torvalds/linux
Revision c9cbbb9f04f3ee27970f08d3aa6e6742a43d4ca5 authored by Gustavo A. R. Silva on 20 August 2019, 18:07:46 UTC, committed by Gustavo A. R. Silva on 21 August 2019, 00:43:23 UTC
Mark switch cases where we are expecting to fall through.

Fix the following warning (Building: footbridge_defconfig arm):

drivers/watchdog/wdt285.c: In function ‘watchdog_ioctl’:
drivers/watchdog/wdt285.c:170:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
   watchdog_ping();
   ^~~~~~~~~~~~~~~
drivers/watchdog/wdt285.c:172:2: note: here
  case WDIOC_GETTIMEOUT:
  ^~~~

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
1 parent 3f0289c
History
Tip revision: c9cbbb9f04f3ee27970f08d3aa6e6742a43d4ca5 authored by Gustavo A. R. Silva on 20 August 2019, 18:07:46 UTC
watchdog: wdt285: Mark expected switch fall-through
Tip revision: c9cbbb9
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 14.6 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.7 KB
.mailmap -rw-r--r-- 12.2 KB
COPYING -rw-r--r-- 423 bytes
CREDITS -rw-r--r-- 97.1 KB
Kbuild -rw-r--r-- 1.5 KB
Kconfig -rw-r--r-- 595 bytes
MAINTAINERS -rw-r--r-- 509.8 KB
Makefile -rw-r--r-- 59.2 KB
README -rw-r--r-- 727 bytes

README

back to top