linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [linux-stable-rc:linux-5.10.y 749/1625] arch/powerpc/kernel/eeh.c:1568:12: error: unused function 'proc_eeh_show'
@ 2021-08-13 13:40 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-13 13:40 UTC (permalink / raw)
  To: Nathan Chancellor
  Cc: clang-built-linux, kbuild-all, linux-kernel, Greg Kroah-Hartman,
	Nick Desaulniers, Michael Ellerman

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
head:   81212a8abbf61ea75f691938b24d57cc1633e11c
commit: a024e88f8ab79a7b7e15337096d4f5f77edc6a49 [749/1625] powerpc/barrier: Avoid collision with clang's __lwsync macro
config: powerpc-randconfig-r005-20210813 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 62df4df41c939205b2dc0a2a3bfb75b8c1ed74fa)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=a024e88f8ab79a7b7e15337096d4f5f77edc6a49
        git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
        git fetch --no-tags linux-stable-rc linux-5.10.y
        git checkout a024e88f8ab79a7b7e15337096d4f5f77edc6a49
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc 

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

All errors (new ones prefixed by >>):

>> arch/powerpc/kernel/eeh.c:1568:12: error: unused function 'proc_eeh_show' [-Werror,-Wunused-function]
   static int proc_eeh_show(struct seq_file *m, void *v)
              ^
   1 error generated.
--
>> arch/powerpc/platforms/powernv/pci-cxl.c:173:19: error: unused function 'get_cxl_module' [-Werror,-Wunused-function]
   static inline int get_cxl_module(void) { return 0; }
                     ^
   1 error generated.


vim +/proc_eeh_show +1568 arch/powerpc/kernel/eeh.c

ec33d36e5ab5d5 arch/powerpc/kernel/eeh.c            Gavin Shan     2015-03-26  1567  
^1da177e4c3f41 arch/ppc64/kernel/eeh.c              Linus Torvalds 2005-04-16 @1568  static int proc_eeh_show(struct seq_file *m, void *v)
^1da177e4c3f41 arch/ppc64/kernel/eeh.c              Linus Torvalds 2005-04-16  1569  {
2ec5a0adf60c23 arch/powerpc/kernel/eeh.c            Gavin Shan     2014-02-12  1570  	if (!eeh_enabled()) {
^1da177e4c3f41 arch/ppc64/kernel/eeh.c              Linus Torvalds 2005-04-16  1571  		seq_printf(m, "EEH Subsystem is globally disabled\n");
e575f8db1ed8e7 arch/powerpc/platforms/pseries/eeh.c Gavin Shan     2012-02-29  1572  		seq_printf(m, "eeh_total_mmio_ffs=%llu\n", eeh_stats.total_mmio_ffs);
^1da177e4c3f41 arch/ppc64/kernel/eeh.c              Linus Torvalds 2005-04-16  1573  	} else {
^1da177e4c3f41 arch/ppc64/kernel/eeh.c              Linus Torvalds 2005-04-16  1574  		seq_printf(m, "EEH Subsystem is enabled\n");
177bc9367efe89 arch/ppc64/kernel/eeh.c              Linas Vepstas  2005-11-03  1575  		seq_printf(m,
e575f8db1ed8e7 arch/powerpc/platforms/pseries/eeh.c Gavin Shan     2012-02-29  1576  				"no device=%llu\n"
e575f8db1ed8e7 arch/powerpc/platforms/pseries/eeh.c Gavin Shan     2012-02-29  1577  				"no device node=%llu\n"
e575f8db1ed8e7 arch/powerpc/platforms/pseries/eeh.c Gavin Shan     2012-02-29  1578  				"no config address=%llu\n"
e575f8db1ed8e7 arch/powerpc/platforms/pseries/eeh.c Gavin Shan     2012-02-29  1579  				"check not wanted=%llu\n"
e575f8db1ed8e7 arch/powerpc/platforms/pseries/eeh.c Gavin Shan     2012-02-29  1580  				"eeh_total_mmio_ffs=%llu\n"
e575f8db1ed8e7 arch/powerpc/platforms/pseries/eeh.c Gavin Shan     2012-02-29  1581  				"eeh_false_positives=%llu\n"
e575f8db1ed8e7 arch/powerpc/platforms/pseries/eeh.c Gavin Shan     2012-02-29  1582  				"eeh_slot_resets=%llu\n",
e575f8db1ed8e7 arch/powerpc/platforms/pseries/eeh.c Gavin Shan     2012-02-29  1583  				eeh_stats.no_device,
e575f8db1ed8e7 arch/powerpc/platforms/pseries/eeh.c Gavin Shan     2012-02-29  1584  				eeh_stats.no_dn,
e575f8db1ed8e7 arch/powerpc/platforms/pseries/eeh.c Gavin Shan     2012-02-29  1585  				eeh_stats.no_cfg_addr,
e575f8db1ed8e7 arch/powerpc/platforms/pseries/eeh.c Gavin Shan     2012-02-29  1586  				eeh_stats.ignored_check,
e575f8db1ed8e7 arch/powerpc/platforms/pseries/eeh.c Gavin Shan     2012-02-29  1587  				eeh_stats.total_mmio_ffs,
e575f8db1ed8e7 arch/powerpc/platforms/pseries/eeh.c Gavin Shan     2012-02-29  1588  				eeh_stats.false_positives,
e575f8db1ed8e7 arch/powerpc/platforms/pseries/eeh.c Gavin Shan     2012-02-29  1589  				eeh_stats.slot_resets);
^1da177e4c3f41 arch/ppc64/kernel/eeh.c              Linus Torvalds 2005-04-16  1590  	}
^1da177e4c3f41 arch/ppc64/kernel/eeh.c              Linus Torvalds 2005-04-16  1591  
^1da177e4c3f41 arch/ppc64/kernel/eeh.c              Linus Torvalds 2005-04-16  1592  	return 0;
^1da177e4c3f41 arch/ppc64/kernel/eeh.c              Linus Torvalds 2005-04-16  1593  }
^1da177e4c3f41 arch/ppc64/kernel/eeh.c              Linus Torvalds 2005-04-16  1594  

:::::: The code at line 1568 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39652 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-13 13:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-13 13:40 [linux-stable-rc:linux-5.10.y 749/1625] arch/powerpc/kernel/eeh.c:1568:12: error: unused function 'proc_eeh_show' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).