linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [powerpc:next-test 164/170] arch/powerpc/kernel/interrupt.c:36:20: error: unused function 'exit_must_hard_disable'
@ 2021-06-23 14:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-23 14:13 UTC (permalink / raw)
  To: Nicholas Piggin; +Cc: clang-built-linux, kbuild-all, linuxppc-dev

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next-test
head:   a23408e2575e49c4394f8733c78dce907286ac8e
commit: 63369fa0176120a0db94e95c3aea3b2e6bd3fe54 [164/170] powerpc/64: use interrupt restart table to speed up return from interrupt
config: powerpc-randconfig-r004-20210622 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project b259740801d3515810ecc15bf0c24b0d476a1608)
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/powerpc/linux.git/commit/?id=63369fa0176120a0db94e95c3aea3b2e6bd3fe54
        git remote add powerpc https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git
        git fetch --no-tags powerpc next-test
        git checkout 63369fa0176120a0db94e95c3aea3b2e6bd3fe54
        # 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/interrupt.c:36:20: error: unused function 'exit_must_hard_disable' [-Werror,-Wunused-function]
   static inline bool exit_must_hard_disable(void)
                      ^
   1 error generated.


vim +/exit_must_hard_disable +36 arch/powerpc/kernel/interrupt.c

    28	
    29	#ifdef CONFIG_PPC_BOOK3S_64
    30	DEFINE_STATIC_KEY_FALSE(interrupt_exit_not_reentrant);
    31	static inline bool exit_must_hard_disable(void)
    32	{
    33		return static_branch_unlikely(&interrupt_exit_not_reentrant);
    34	}
    35	#else
  > 36	static inline bool exit_must_hard_disable(void)
    37	{
    38		return false;
    39	}
    40	#endif
    41	

---
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: 33715 bytes --]

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

only message in thread, other threads:[~2021-06-23 14:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-23 14:13 [powerpc:next-test 164/170] arch/powerpc/kernel/interrupt.c:36:20: error: unused function 'exit_must_hard_disable' 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).