From: kernel test robot <lkp@intel.com>
To: aubrey.li@linux.intel.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [anolis-intel-cloud:devel-5.10 109/109] arch/x86/kernel/amd_nb.c:64:24: warning: 'next_northbridge' defined but not used
Date: Sun, 20 Sep 2026 05:51:05 +0800 [thread overview]
Message-ID: <202609200532.ijMYGryu-lkp@intel.com> (raw)
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
reply other threads:[~2026-09-19 21:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202609200532.ijMYGryu-lkp@intel.com \
--to=lkp@intel.com \
--cc=aubrey.li@linux.intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.