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

From: Mika Westerberg

Date: Tue Jul 28 2026 - 00:36:06 EST


On Mon, Jul 27, 2026 at 04:04:17PM +0100, Mark Brown wrote:
> 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.

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.