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

From: Pan Chuang

Date: Tue Jul 28 2026 - 04:07:06 EST




On 2026/7/28 12:35, Mika Westerberg wrote:
> 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.
Sorry for the noise. The fix is ready and I'll send v2 in a moment.

Best Regards,

PanChuang