Andy Shevchenko
7b2daa648e
HID: debug: Remove duplicates from 'keys'
...
Duplicates in 'keys prevents kernel builds with clang, `make W=1` and
CONFIG_WERROR=y, for example:
drivers/hid/hid-debug.c:3443:18: error: initializer overrides prior initialization of this subobject [-Werror,-Winitializer-overrides]
3443 | [KEY_HANGEUL] = "HanGeul", [KEY_HANGUP_PHONE] = "HangUpPhone",
| ^~~~~~~~~
drivers/hid/hid-debug.c:3217:18: note: previous initialization is here
3217 | [KEY_HANGUEL] = "Hangeul", [KEY_HANJA] = "Hanja",
| ^~~~~~~~~
Fix this by removing them.
The logic of removal is that, remove...
1) if there is a constant that uses another defined constant, OR
2) the one that appears later in the list.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Jiri Kosina <jkosina@suse.com >
2024-10-18 12:24:52 +02:00
..
2024-09-19 11:12:49 +02:00
2024-09-27 11:42:03 -07:00
2024-09-27 09:05:18 -07:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:48:37 -07:00
2024-09-27 10:27:22 -07:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:48:37 -07:00
2024-09-27 08:18:43 -07:00
2024-09-26 12:00:25 -07:00
2024-09-17 15:27:01 +02:00
2024-09-27 08:18:43 -07:00
2024-09-19 15:55:58 +02:00
2024-09-18 10:49:45 +02:00
2024-09-24 10:46:54 -07:00
2024-09-27 11:42:03 -07:00
2024-09-26 12:00:25 -07:00
2024-09-19 10:18:15 +02:00
2024-09-16 06:36:37 +02:00
2024-09-26 10:13:08 -07:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:18:43 -07:00
2024-09-28 08:47:46 -07:00
2024-10-18 12:24:52 +02:00
2024-09-19 10:18:15 +02:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:18:43 -07:00
2024-09-29 09:47:33 -07:00
2024-09-17 16:51:45 +02:00
2024-09-25 22:30:33 +02:00
2024-09-27 08:18:43 -07:00
2024-10-02 12:18:02 -07:00
2024-09-27 08:18:43 -07:00
2024-09-17 22:20:12 +08:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:18:43 -07:00
2024-09-27 09:11:05 -05:00
2024-10-02 16:21:08 +02:00
2024-09-27 08:18:43 -07:00
2024-09-29 09:22:34 -07:00
2024-09-23 14:17:08 -07:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:18:43 -07:00
2024-09-20 10:51:25 -04:00
2024-09-26 08:43:17 -07:00
2024-09-25 14:56:40 -07:00
2024-09-26 10:13:08 -07:00
2024-09-24 13:02:06 -07:00
2024-09-23 12:47:06 -07:00
2024-09-24 10:59:17 -07:00
2024-09-23 14:05:10 -07:00
2024-09-26 12:00:25 -07:00
2024-09-27 08:18:43 -07:00
2024-09-13 13:41:33 +02:00
2024-09-26 12:00:25 -07:00
2024-09-27 08:18:43 -07:00
2024-09-26 12:00:25 -07:00
2024-09-13 19:08:14 +01:00
2024-09-29 09:53:04 -07:00
2024-09-13 14:09:47 -07:00
2024-09-27 08:18:43 -07:00
2024-09-28 09:11:46 -07:00
2024-09-27 08:18:43 -07:00
2024-09-29 09:22:34 -07:00
2024-09-26 17:25:29 +02:00
2024-09-26 12:00:25 -07:00
2024-09-23 14:00:46 -07:00
2024-09-27 08:18:43 -07:00
2024-09-26 10:13:08 -07:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:18:43 -07:00
2024-09-29 09:22:34 -07:00
2024-09-27 08:18:43 -07:00
2024-09-26 08:43:17 -07:00
2024-09-27 08:18:43 -07:00
2024-09-26 08:43:17 -07:00
2024-09-28 00:42:11 +02:00
2024-09-27 08:18:43 -07:00
2024-09-26 08:43:17 -07:00
2024-09-27 08:18:43 -07:00
2024-09-27 09:55:30 -07:00