Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Jan 15, 2023 – Jan 18, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 8 lines · Stephen Rothwell

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:

Quoted 7 lines
      | ^~~

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