]> git.baikalelectronics.ru Git - kernel.git/commit
HID: input: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:33:29 +0000 (12:33 -0600)
committerJiri Kosina <jkosina@suse.cz>
Wed, 25 Nov 2020 13:04:46 +0000 (14:04 +0100)
commit21fde95b7a8c8d43afc0a21035004bf020efc536
tree561e395d104875ff5ed25e9e0e59336f484a50e8
parent745e38c7f76297236f69dc318c55e5c9b9e8a6b5
HID: input: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a goto statement instead of letting the code fall
through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c