hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/hid/hid-roccat-kone.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Roccat Kone driver for Linux
34 *
....@@ -5,10 +6,6 @@
56 */
67
78 /*
8
- * This program is free software; you can redistribute it and/or modify it
9
- * under the terms of the GNU General Public License as published by the Free
10
- * Software Foundation; either version 2 of the License, or (at your option)
11
- * any later version.
129 */
1310
1411 /*
....@@ -795,6 +792,7 @@
795792 case kone_mouse_event_switch_profile:
796793 kone->actual_dpi = kone->profiles[event->value - 1].
797794 startup_dpi;
795
+ fallthrough;
798796 case kone_mouse_event_osd_profile:
799797 kone->actual_profile = event->value;
800798 break;