Re: linux-next: build failure after merge of the hid tree

From: Kenny Levinsen
Date: Tue May 07 2024 - 03:22:35 EST


On 5/7/24 3:06 AM, Stephen Rothwell wrote:
drivers/hid/i2c-hid/i2c-hid-core.c: In function 'i2c_hid_set_power':
drivers/hid/i2c-hid/i2c-hid-core.c:410:1: error: label 'set_pwr_exit' defined but not used [-Werror=unused-label]
410 | set_pwr_exit:
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors


Apologies, I did not realize that I had missed -Werror on my kernel builder. I have posted the fix[0] to the input mailing list and made sure I have -Werror enabled for future patch work.

[0]: https://patchwork.kernel.org/project/linux-input/patch/20240507063656.2892-1-kl@xxxxxx/