[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <175214204240.728686.14468996712698294332.b4-ty@kernel.org>
Date: Thu, 10 Jul 2025 12:07:22 +0200
From: Benjamin Tissoires <bentiss@...nel.org>
To: Jiri Kosina <jikos@...nel.org>, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Vicki Pfau <vi@...rift.com>
Subject: Re: [PATCH v1 1/1] HID: debug: Remove duplicate entry (BTN_WHEEL)
On Thu, 10 Jul 2025 12:41:20 +0300, Andy Shevchenko wrote:
> 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",
> | ^~~~~~~~~~~~~
>
> [...]
Applied to hid/hid.git (for-6.16/upstream-fixes), thanks!
[1/1] HID: debug: Remove duplicate entry (BTN_WHEEL)
https://git.kernel.org/hid/hid/c/04515e08bca9
Cheers,
--
Benjamin Tissoires <bentiss@...nel.org>
Powered by blists - more mailing lists