All of lore.kernel.org
 help / color / mirror / Atom feed
* [alibaba-cloud:ck-4.19.91 10623/10873] arch/x86/kernel/amd_nb.c:75:28: sparse: sparse: symbol 'hygon_nb_misc_ids' was not declared. Should it be static?
@ 2020-02-11 14:28 kbuild test robot
  2020-02-11 14:28 ` [RFC PATCH alibaba-cloud] HYGON: x86/pci, x86/amd_nb: hygon_nb_misc_ids[] can be static kbuild test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2020-02-11 14:28 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 957 bytes --]

tree:   https://github.com/alibaba/cloud-kernel.git ck-4.19.91
head:   536f70b41d6fc5fc46f50c4caa012c4439160180
commit: 7e43e832788104df86f03ab6c2f4683f878cb904 [10623/10873] HYGON: x86/pci, x86/amd_nb: Add Hygon Dhyana support to PCI and northbridge
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-166-g7e4a5b6f-dirty
        git checkout 7e43e832788104df86f03ab6c2f4683f878cb904
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

>> arch/x86/kernel/amd_nb.c:75:28: sparse: sparse: symbol 'hygon_nb_misc_ids' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [RFC PATCH alibaba-cloud] HYGON: x86/pci, x86/amd_nb: hygon_nb_misc_ids[] can be static
  2020-02-11 14:28 [alibaba-cloud:ck-4.19.91 10623/10873] arch/x86/kernel/amd_nb.c:75:28: sparse: sparse: symbol 'hygon_nb_misc_ids' was not declared. Should it be static? kbuild test robot
@ 2020-02-11 14:28 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-02-11 14:28 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]


Fixes: 7e43e8327881 ("HYGON: x86/pci, x86/amd_nb: Add Hygon Dhyana support to PCI and northbridge")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 amd_nb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/amd_nb.c b/arch/x86/kernel/amd_nb.c
index dbb5155a84e78..5cf139a678c6d 100644
--- a/arch/x86/kernel/amd_nb.c
+++ b/arch/x86/kernel/amd_nb.c
@@ -72,7 +72,7 @@ static const struct pci_device_id hygon_root_ids[] = {
 	{}
 };
 
-const struct pci_device_id hygon_nb_misc_ids[] = {
+static const struct pci_device_id hygon_nb_misc_ids[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_HYGON, PCI_DEVICE_ID_AMD_17H_DF_F3) },
 	{}
 };

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-11 14:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-11 14:28 [alibaba-cloud:ck-4.19.91 10623/10873] arch/x86/kernel/amd_nb.c:75:28: sparse: sparse: symbol 'hygon_nb_misc_ids' was not declared. Should it be static? kbuild test robot
2020-02-11 14:28 ` [RFC PATCH alibaba-cloud] HYGON: x86/pci, x86/amd_nb: hygon_nb_misc_ids[] can be static kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.