llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [axboe-block:misc-next 3/3] mm/slab_common.c:1326:5: error: no previous prototype for function 'should_failslab'
@ 2021-09-18 23:56 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-18 23:56 UTC (permalink / raw)
  To: Jens Axboe; +Cc: llvm, kbuild-all, linux-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git misc-next
head:   35ad5bde8854eb2aeefe762fb06b9a6f75514657
commit: 35ad5bde8854eb2aeefe762fb06b9a6f75514657 [3/3] mm: don't call should_failslab() for !CONFIG_FAILSLAB
config: hexagon-buildonly-randconfig-r002-20210919 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c8b3d7d6d6de37af68b2f379d0e37304f78e115f)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?id=35ad5bde8854eb2aeefe762fb06b9a6f75514657
        git remote add axboe-block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
        git fetch --no-tags axboe-block misc-next
        git checkout 35ad5bde8854eb2aeefe762fb06b9a6f75514657
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon 

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 >>):

>> mm/slab_common.c:1326:5: error: no previous prototype for function 'should_failslab' [-Werror,-Wmissing-prototypes]
   int should_failslab(struct kmem_cache *s, gfp_t gfpflags)
       ^
   mm/slab_common.c:1326:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int should_failslab(struct kmem_cache *s, gfp_t gfpflags)
   ^
   static 
   1 error generated.


vim +/should_failslab +1326 mm/slab_common.c

4f6923fbb352d12 Howard McLauchlan 2018-04-05  1325  
4f6923fbb352d12 Howard McLauchlan 2018-04-05 @1326  int should_failslab(struct kmem_cache *s, gfp_t gfpflags)

:::::: The code at line 1326 was first introduced by commit
:::::: 4f6923fbb352d126659cabe34806cff75c7b5ea0 mm: make should_failslab always available for fault injection

:::::: TO: Howard McLauchlan <hmclauchlan@fb.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.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: 15646 bytes --]

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

only message in thread, other threads:[~2021-09-18 23:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-18 23:56 [axboe-block:misc-next 3/3] mm/slab_common.c:1326:5: error: no previous prototype for function 'should_failslab' 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).