From: kernel test robot <lkp@intel.com>
To: kernel@openeuler.org
Cc: oe-kbuild-all@lists.linux.dev
Subject: [openeuler:OLK-6.6 2195/2195] arch/x86/events/zhaoxin/uncore.c:2761:6: warning: no previous prototype for 'kx5000_uncore_cpu_init'
Date: Tue, 3 Jun 2025 15:15:09 +0800 [thread overview]
Message-ID: <202506031554.QV1bCcG7-lkp@intel.com> (raw)
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 97c2d1a4aa1430a6305c949fa1f72efe454c946d
commit: dc5b97374ba722156acbdfc4e3adbc69e2dbe7f4 [2195/2195] perf/x86/zhaoxin/uncore: Add KX-7000 support
config: x86_64-buildonly-randconfig-2002-20250502 (https://download.01.org/0day-ci/archive/20250603/202506031554.QV1bCcG7-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250603/202506031554.QV1bCcG7-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/202506031554.QV1bCcG7-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/x86/events/zhaoxin/uncore.c:2761:6: warning: no previous prototype for 'kx5000_uncore_cpu_init' [-Wmissing-prototypes]
2761 | void kx5000_uncore_cpu_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/events/zhaoxin/uncore.c:2770:6: warning: no previous prototype for 'kh40000_uncore_cpu_init' [-Wmissing-prototypes]
2770 | void kh40000_uncore_cpu_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/events/zhaoxin/uncore.c:2775:5: warning: no previous prototype for 'kh40000_uncore_pci_init' [-Wmissing-prototypes]
2775 | int kh40000_uncore_pci_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/x86/events/zhaoxin/uncore.c:2791:6: warning: no previous prototype for 'kx8000_uncore_cpu_init' [-Wmissing-prototypes]
2791 | void kx8000_uncore_cpu_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/x86/events/zhaoxin/uncore.c:2796:5: warning: no previous prototype for 'kx8000_uncore_pci_init' [-Wmissing-prototypes]
2796 | int kx8000_uncore_pci_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/x86/events/zhaoxin/uncore.c:2804:6: warning: no previous prototype for 'kx8000_uncore_mmio_init' [-Wmissing-prototypes]
2804 | void kx8000_uncore_mmio_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/kx5000_uncore_cpu_init +2761 arch/x86/events/zhaoxin/uncore.c
2760
> 2761 void kx5000_uncore_cpu_init(void)
2762 {
2763 uncore_msr_uncores = kx5000_msr_uncores;
2764 }
2765
2766 static const struct zhaoxin_uncore_init_fun kx5000_uncore_init __initconst = {
2767 .cpu_init = kx5000_uncore_cpu_init,
2768 };
2769
> 2770 void kh40000_uncore_cpu_init(void)
2771 {
2772 uncore_msr_uncores = kh40000_msr_uncores;
2773 }
2774
> 2775 int kh40000_uncore_pci_init(void)
2776 {
2777 int ret = kh40000_pci2node_map_init();/*pci_bus to package mapping, do nothing*/
2778
2779 if (ret)
2780 return ret;
2781 uncore_pci_uncores = kh40000_pci_uncores;
2782 uncore_pci_driver = &kh40000_uncore_pci_driver;
2783 return 0;
2784 }
2785
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-06-03 7:15 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=202506031554.QV1bCcG7-lkp@intel.com \
--to=lkp@intel.com \
--cc=kernel@openeuler.org \
--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.