diff options
| author | Andy Shevchenko <[email protected]> | 2025-07-10 09:41:20 +0000 |
|---|---|---|
| committer | Benjamin Tissoires <[email protected]> | 2025-07-10 10:03:17 +0000 |
| commit | 04515e08bca9b5a1f9729b8d99d8b322e56d7454 (patch) | |
| tree | 6b22437d2082bdbd6786a9dcb48dc37593cfeec1 /fs/btrfs/dev-replace.c | |
| parent | HID: appletb-kbd: fix slab use-after-free bug in appletb_kbd_probe (diff) | |
| download | kernel-04515e08bca9b5a1f9729b8d99d8b322e56d7454.tar.gz kernel-04515e08bca9b5a1f9729b8d99d8b322e56d7454.zip | |
HID: debug: Remove duplicate entry (BTN_WHEEL)
BTN_WHEEL is duplicated (by value) and compiler is not happy about that:
drivers/hid/hid-debug.c:3302:16: error: initializer overrides prior initialization of this subobject [-Werror,-Winitializer-overrides]
3302 | [BTN_WHEEL] = "BtnWheel", [KEY_OK] = "Ok",
| ^~~~~~~~~~
drivers/hid/hid-debug.c:3301:20: note: previous initialization is here
3301 | [BTN_GEAR_DOWN] = "BtnGearDown", [BTN_GEAR_UP] = "BtnGearUp",
| ^~~~~~~~~~~~~
Remove it again, as the commit 7b2daa648eb7 ("HID: debug: Remove duplicates
from 'keys'") already did this once in the past.
Fixes: 194808a1ea39 ("HID: Fix debug name for BTN_GEAR_DOWN, BTN_GEAR_UP, BTN_WHEEL")
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
