Hi all,
After merging the hid tree, today's linux-next build (x86_64 allmodconfig)
failed like this:
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
Caused by commit
7d6f065de37c ("HID: i2c-hid: Use address probe to wake on resume")
I have used the hid tree from next-20240506 for today.
--
Cheers,
Stephen Rothwell
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/[email protected]/