ARC: Don't source drivers/pci/pcie/Kconfig ourselves
PATCH 1/1 ARC: Don't source drivers/pci/pcie/Kconfig ourselves
Commit 5f8fc43217a0 ("PCI: Include pci/pcie/Kconfig directly from pci/Kconfig") in linux-next changed drivers/pci/Kconfig to include drivers/pci/pcie/Kconfig itself, so that architectures do not need to source both files themselves. ARC just recently gained PCI support through commit 6b3fb77998dd ("ARC: Add PCI support"), but this change was based on the old behaviour of the Kconfig files. This makes Kconfig now spit out the following warnings:
drivers/pci/pcie/Kconfig:61:warning: choice value used outside its choice group drivers/pci/pcie/Kconfig:67:warning: choice value used outside its choice group drivers/pci/pcie/Kconfig:74:warning: choice value used outside its choice group
This change updates the Kconfig file for ARC, dropping the now unnecessary 'source' statement, which makes the warning disappear.
--- arch/arc/Kconfig | 1 - 1 file changed, 1 deletion(-)
arch/arc/Kconfig +0 -1
@@ -592,7 +592,6 @@ config PCI_SYSCALL def_bool PCI source "drivers/pci/Kconfig" -source "drivers/pci/pcie/Kconfig" endmenu
Signature · 1 line
1.9.1
Quoted 8 lines · Andreas Ziegler
Commit
5f8fc43217a0("PCI: Include pci/pcie/Kconfig directly from pci/Kconfig") in linux-next changeddrivers/pci/Kconfigto includedrivers/pci/pcie/Kconfigitself, so that architectures do not need to source both files themselves. ARC just recently gained PCI support through commit6b3fb77998dd("ARC: Add PCI support"), but this change was based on the old behaviour of theKconfigfiles. This makesKconfignow spit out the following warnings:
Quoted 8 lines
drivers/pci/pcie/Kconfig:61:warning: choice value used outside its choice group drivers/pci/pcie/Kconfig:67:warning: choice value used outside its choice group drivers/pci/pcie/Kconfig:74:warning: choice value used outside its choice group
This change updates the
Kconfigfile for ARC, dropping the now unnecessary 'source' statement, which makes the warning disappear.Signed-off-by Andreas Ziegler <andreas.ziegler at fau.de>
Thx for the fix Andreas.
@Bjorn sorry you might to have to pick this one up as well. If not, that's fine too - I'll queue it up once ARC PCI hits upstream.
Thx,
-Vineet
Quoted 16 lines
--- arch/arc/Kconfig | 1 - 1 file changed, 1 deletion(-)arch/arc/Kconfig +0
-1@@ -592,7 +592,6 @@ config PCI_SYSCALL def_bool PCI source "drivers/pci/Kconfig" -source "drivers/pci/pcie/Kconfig" endmenu
Joao Pinto
Acked-byQuoted 37 lines · Vineet Gupta
Quoted 8 lines · Andreas Ziegler
Commit
5f8fc43217a0("PCI: Include pci/pcie/Kconfig directly from pci/Kconfig") in linux-next changeddrivers/pci/Kconfigto includedrivers/pci/pcie/Kconfigitself, so that architectures do not need to source both files themselves. ARC just recently gained PCI support through commit6b3fb77998dd("ARC: Add PCI support"), but this change was based on the old behaviour of theKconfigfiles. This makesKconfignow spit out the following warnings:Quoted 8 lines
drivers/pci/pcie/Kconfig:61:warning: choice value used outside its choice group drivers/pci/pcie/Kconfig:67:warning: choice value used outside its choice group drivers/pci/pcie/Kconfig:74:warning: choice value used outside its choice group
This change updates the
Kconfigfile for ARC, dropping the now unnecessary 'source' statement, which makes the warning disappear.Signed-off-by Andreas Ziegler <andreas.ziegler at fau.de>Thx for the fix Andreas.
@Bjorn sorry you might to have to pick this one up as well. If not, that's fine too - I'll queue it up once ARC PCI hits upstream.
Thx,
-VineetQuoted 11 lines
--- arch/arc/Kconfig | 1 - 1 file changed, 1 deletion(-)arch/arc/Kconfig +0
-0@@ -592,7 +592,6 @@ config PCI_SYSCALL def_bool PCI
Quoted 6 lines
arch/arc/Kconfig config PCI_SYSCALL · line 597
Quoted 5 lines
arch/arc/Kconfig +0
-1source "drivers/pci/Kconfig" -source "drivers/pci/pcie/Kconfig" endmenu