projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: Use fallthrough pseudo-keyword
[linux-block.git]
/
drivers
/
hid
/
hid-roccat-kone.c
diff --git
a/drivers/hid/hid-roccat-kone.c
b/drivers/hid/hid-roccat-kone.c
index 1a6e600197d0ba99bb5284385953609686bd867c..2ff4c8e366ff2fc10f0cd909d88147078a5de778 100644
(file)
--- a/
drivers/hid/hid-roccat-kone.c
+++ b/
drivers/hid/hid-roccat-kone.c
@@
-780,7
+780,7
@@
static void kone_keep_values_up_to_date(struct kone_device *kone,
case kone_mouse_event_switch_profile:
kone->actual_dpi = kone->profiles[event->value - 1].
startup_dpi;
- /* fall through */
+ fallthrough;
case kone_mouse_event_osd_profile:
kone->actual_profile = event->value;
break;