HID: usbhid: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:33:24 +0000 (12:33 -0600)
committerJiri Kosina <jkosina@suse.cz>
Wed, 25 Nov 2020 13:01:55 +0000 (14:01 +0100)
commitcae96a5d2bf38401b0e380f9025c375e99ac5a57
tree08c83d54401f2ef706c9e5d943faa79f9b6a62de
parentc6838eeef2fbc7e3e1f83759aa016ae6b70c643e
HID: usbhid: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a couple
of warnings by explicitly adding a couple of break statements 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/usbhid/hid-core.c