linux-next: build failure after merge of the thunderbolt tree
Mark Brown
maintainerHi all,
After merging the thunderbolt tree, today's linux-next build (x86_64 allmodconfig) failed like this:
/tmp/next/build/drivers/thunderbolt/pci.c:115:17: error: unused variable 'dev' [-Werror,-Wunused-variable]
115 | struct device *dev = &pdev->dev;
| ^~~
1 error generated. make[5]: ***
Caused by commit
eef9f6d8c36f7 (thunderbolt: Remove redundant dev_err_probe())
I have used the tree from next-20260726 instead.
Quoted 10 lines · Mark Brown
Hi all,
After merging the thunderbolt tree, today's linux-next build (
x86_64allmodconfig) failed like this:
/tmp/next/build/drivers/thunderbolt/pci.c:115:17: error: unused variable 'dev' [-Werror,-Wunused-variable]
115 | struct device *dev =&pdev->dev;
| ^~~
1 error generated. make[5]: ***
Quoted 5 lines
Caused by commit
eef9f6d8c36f7(thunderbolt: Remove redundantdev_err_probe())I have used the tree from next-20260726 instead.
Thanks for the report Mark. I've dropped that commit from my tree now.
@Pan Chuang, please send an updated version where this variable is removed as well.
Quoted 13 lines · Mika Westerberg
Quoted 12 lines · Mark Brown
Hi all,
After merging the thunderbolt tree, today's linux-next build (
x86_64allmodconfig) failed like this:
/tmp/next/build/drivers/thunderbolt/pci.c:115:17: error: unused variable 'dev' [-Werror,-Wunused-variable]
115 | struct device *dev =&pdev->dev;
| ^~~
1 error generated. make[5]: ***Caused by commit
Quoted 8 lines
Quoted 3 lines
eef9f6d8c36f7(thunderbolt: Remove redundantdev_err_probe())I have used the tree from next-20260726 instead.
Thanks for the report Mark. I've dropped that commit from my tree now.
@Pan Chuang, please send an updated version where this variable is removed as well.
Sorry for the noise. The fix is ready and I'll send v2 in a moment.
Best Regards,
PanChuang