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

From: Bjorn Helgaas
Date: Wed Jan 18 2023 - 16:34:33 EST


On Mon, Jan 16, 2023 at 09:53:25AM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the pci tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
>
> drivers/pci/switch/switchtec.c: In function 'switchtec_dev_read':
> drivers/pci/switch/switchtec.c:623:1: error: label 'out' defined but not used [-Werror=unused-label]
> 623 | out:
> | ^~~
>
> Caused by commit
>
> fbc855bce49e ("PCI: switchtec: Return -EFAULT for copy_to_user() errors")
>
> I have used the pci tree from next-20230113 for today.

Should be fixed.

Lorenzo, just FYI, I cherry-picked the commits from your pci/switchtec
branch into a local pci/switchtec branch to fix this.

Bjorn