linux-next: build failure after merge of the hid tree
Mark Brown
maintainerHi all,
After merging the hid tree, today's linux-next build (x86_64 allmodconfig) failed like this:
/tmp/next/build/drivers/hid/hid-asus.c: In function 'asus_has_report_id':/tmp/next/build/drivers/hid/hid-asus.c:732:22: error: unused variable 'err' [-Werror=unused-variable]
732 | int t, f, u, err = 0;
| ^~~/tmp/next/build/drivers/hid/hid-asus.c:732:19: error: unused variable 'u' [-Werror=unused-variable]
732 | int t, f, u, err = 0;
| ^/tmp/next/build/drivers/hid/hid-asus.c:732:16: error: unused variable 'f' [-Werror=unused-variable]
732 | int t, f, u, err = 0;
| ^
cc1: all warnings being treated as errors
Caused by commit
I have used the tree from next-20260226 instead.
Quoted 18 lines · Mark Brown
Hi all,
After merging the hid tree, today's linux-next build (
x86_64allmodconfig) failed like this:
/tmp/next/build/drivers/hid/hid-asus.c: In function 'asus_has_report_id':/tmp/next/build/drivers/hid/hid-asus.c:732:22: error: unused variable 'err' [-Werror=unused-variable]
732 | int t, f, u, err = 0;
| ^~~/tmp/next/build/drivers/hid/hid-asus.c:732:19: error: unused variable 'u' [-Werror=unused-variable]
732 | int t, f, u, err = 0;
| ^/tmp/next/build/drivers/hid/hid-asus.c:732:16: error: unused variable 'f' [-Werror=unused-variable]
732 | int t, f, u, err = 0;
| ^
cc1: all warnings being treated as errors
Quoted 5 lines
Caused by commit
Fixes 0919db9f35832 (HID: asus: always fully initialize devices)I have used the tree from next-20260226 instead.
Thanks for the report.
I've queued a fix on top of the current for-7.1/asus branch:
https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git/commit/?h=for-7.1/asus&id=7b2f88cc9dd4c2b9f3d6f5377b45ed9c90fd2fe9
Denis, if you disagree with the fix, please shout.
Cheers,
Benjamin
Quoted 23 lines · Benjamin Tissoires
Quoted 22 lines · Mark Brown
Hi all,
After merging the hid tree, today's linux-next build (
x86_64allmodconfig) failed like this:
/tmp/next/build/drivers/hid/hid-asus.c: In function 'asus_has_report_id':/tmp/next/build/drivers/hid/hid-asus.c:732:22: error: unused variable 'err' [-Werror=unused-variable]
732 | int t, f, u, err = 0;
| ^~~/tmp/next/build/drivers/hid/hid-asus.c:732:19: error: unused variable 'u' [-Werror=unused-variable]
732 | int t, f, u, err = 0;
| ^/tmp/next/build/drivers/hid/hid-asus.c:732:16: error: unused variable 'f' [-Werror=unused-variable]
732 | int t, f, u, err = 0;
| ^
cc1: all warnings being treated as errorsCaused by commit
Fixes 0919db9f35832 (HID: asus: always fully initialize devices)
Quoted 7 lines
Quoted 1 line
I have used the tree from next-20260226 instead.
Thanks for the report.
I've queued a fix on top of the current for-7.1/asus branch:
https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git/commit/?h=for-7.1/asus&id=7b2f88cc9dd4c2b9f3d6f5377b45ed9c90fd2fe9Denis, if you disagree with the fix, please shout.
Hi,
Thank you for that, but I think we are duplicating work here: I spotted it and sent a fix already inside this:
https://lore.kernel.org/all/[email protected]/ the fix is is 3/7.
Quoted 4 lines
Cheers,
Benjamin