* [anolis-intel-cloud:devel-5.10 109/109] arch/x86/kernel/amd_nb.c:64:24: warning: 'next_northbridge' defined but not used
@ 2026-09-19 21:51 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-19 21:51 UTC (permalink / raw)
To: aubrey.li; +Cc: oe-kbuild-all
tree: https://gitee.com/anolis/intel-cloud-kernel.git devel-5.10
head: 04b4bf9552e8b33c5cbacd563be503e271170f4e
commit: 4fda8daac2a8eed840c58eda0a52b0bf68fe0f7b [109/109] anolis:x86/pci, x86/hygon_nb: Add Hygon Northbridge driver support via PCI enumeration
config: x86_64-anolis-intel-cloud-devel-5.10 (https://download.01.org/0day-ci/archive/20260920/202609200532.ijMYGryu-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260920/202609200532.ijMYGryu-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609200532.ijMYGryu-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/x86/kernel/amd_nb.c:64:24: warning: 'next_northbridge' defined but not used [-Wunused-function]
64 | static struct pci_dev *next_northbridge(struct pci_dev *dev,
| ^~~~~~~~~~~~~~~~
vim +/next_northbridge +64 arch/x86/kernel/amd_nb.c
a32073bffc656c arch/x86_64/kernel/k8.c Andi Kleen 2006-06-26 63
9653a5c76c8677 arch/x86/kernel/amd_nb.c Hans Rosenfeld 2010-10-29 @64 static struct pci_dev *next_northbridge(struct pci_dev *dev,
691269f0d918cd arch/x86/kernel/amd_nb.c Jan Beulich 2011-02-09 65 const struct pci_device_id *ids)
a32073bffc656c arch/x86_64/kernel/k8.c Andi Kleen 2006-06-26 66 {
a32073bffc656c arch/x86_64/kernel/k8.c Andi Kleen 2006-06-26 67 do {
a32073bffc656c arch/x86_64/kernel/k8.c Andi Kleen 2006-06-26 68 dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev);
a32073bffc656c arch/x86_64/kernel/k8.c Andi Kleen 2006-06-26 69 if (!dev)
a32073bffc656c arch/x86_64/kernel/k8.c Andi Kleen 2006-06-26 70 break;
9653a5c76c8677 arch/x86/kernel/amd_nb.c Hans Rosenfeld 2010-10-29 71 } while (!pci_match_id(ids, dev));
a32073bffc656c arch/x86_64/kernel/k8.c Andi Kleen 2006-06-26 72 return dev;
a32073bffc656c arch/x86_64/kernel/k8.c Andi Kleen 2006-06-26 73 }
a32073bffc656c arch/x86_64/kernel/k8.c Andi Kleen 2006-06-26 74
:::::: The code at line 64 was first introduced by commit
:::::: 9653a5c76c8677b05b45b3b999d3b39988d2a064 x86, amd-nb: Cleanup AMD northbridge caching code
:::::: TO: Hans Rosenfeld <hans.rosenfeld@amd.com>
:::::: CC: Borislav Petkov <borislav.petkov@amd.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-19 21:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-19 21:51 [anolis-intel-cloud:devel-5.10 109/109] arch/x86/kernel/amd_nb.c:64:24: warning: 'next_northbridge' defined but not used kernel 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.