Skip to contentSkip to conversation

linux-next: build failure after merge of the thunderbolt tree

DISCUSSION Mark Brown 3 participants 3 messages Jul 27 – Jul 28 Linux-next tree

lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi 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.

#1 lore raw
Quoted 10 lines · Mark Brown

Hi 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]: ***

Quoted 5 lines

Caused by commit

eef9f6d8c36f7 (thunderbolt: Remove redundant dev_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.

#2 lore raw
Quoted 13 lines · Mika Westerberg
Quoted 12 lines · Mark Brown

Hi 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

Quoted 8 lines
Quoted 3 lines

eef9f6d8c36f7 (thunderbolt: Remove redundant dev_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