From: Benjamin Tissoires <bentiss@kernel.org>
To: Jiri Kosina <jikos@kernel.org>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Vicki Pfau <vi@endrift.com>
Subject: Re: [PATCH v1 1/1] HID: debug: Remove duplicate entry (BTN_WHEEL)
Date: Thu, 10 Jul 2025 12:07:22 +0200 [thread overview]
Message-ID: <175214204240.728686.14468996712698294332.b4-ty@kernel.org> (raw)
In-Reply-To: <20250710094120.753358-1-andriy.shevchenko@linux.intel.com>
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@kernel.org>
next prev parent reply other threads:[~2025-07-10 10:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-10 9:41 [PATCH v1 1/1] HID: debug: Remove duplicate entry (BTN_WHEEL) Andy Shevchenko
2025-07-10 10:07 ` Benjamin Tissoires [this message]
2025-07-10 12:16 ` Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=175214204240.728686.14468996712698294332.b4-ty@kernel.org \
--to=bentiss@kernel.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=vi@endrift.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox