linux-next: build failure after merge of the pci tree
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
Quoted 8 lines · Stephen Rothwell
Hi all,
After merging the pci tree, today's linux-next build (
x86_64allmodconfig) 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-EFAULTforcopy_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