All of lore.kernel.org
 help / color / mirror / Atom feed
* [chunkuang.hu:pagecaller 1/2] mm/page_alloc.c:168:5: warning: 'CONFIG_PAGECALLER' is not defined, evaluates to 0
@ 2021-05-01 21:39 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-01 21:39 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git pagecaller
head:   20abacc6126686e7fcf2362f99dca562b6dac90a
commit: cad3d1e54da86c3adc7d60bc3fe49578679caddd [1/2] mm: Add pagecaller base trace point
config: x86_64-randconfig-a014-20210501 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8f5a2a5836cc8e4c1def2bdeb022e7b496623439)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/commit/?id=cad3d1e54da86c3adc7d60bc3fe49578679caddd
        git remote add chunkuang.hu https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git
        git fetch --no-tags chunkuang.hu pagecaller
        git checkout cad3d1e54da86c3adc7d60bc3fe49578679caddd
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

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

All warnings (new ones prefixed by >>):

>> mm/page_alloc.c:168:5: warning: 'CONFIG_PAGECALLER' is not defined, evaluates to 0 [-Wundef]
   #if CONFIG_PAGECALLER
       ^
   mm/page_alloc.c:904:5: warning: 'CONFIG_PAGECALLER' is not defined, evaluates to 0 [-Wundef]
   #if CONFIG_PAGECALLER
       ^
   mm/page_alloc.c:926:5: warning: 'CONFIG_PAGECALLER' is not defined, evaluates to 0 [-Wundef]
   #if CONFIG_PAGECALLER
       ^
   mm/page_alloc.c:939:5: warning: 'CONFIG_PAGECALLER' is not defined, evaluates to 0 [-Wundef]
   #if CONFIG_PAGECALLER
       ^
   mm/page_alloc.c:968:5: warning: 'CONFIG_PAGECALLER' is not defined, evaluates to 0 [-Wundef]
   #if CONFIG_PAGECALLER
       ^
   mm/page_alloc.c:3636:15: warning: no previous prototype for function 'should_fail_alloc_page' [-Wmissing-prototypes]
   noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
                 ^
   mm/page_alloc.c:3636:10: note: declare 'static' if the function is not intended to be used outside of this translation unit
   noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
            ^
            static 
   mm/page_alloc.c:7175:5: warning: 'CONFIG_PAGECALLER' is not defined, evaluates to 0 [-Wundef]
   #if CONFIG_PAGECALLER
       ^
   7 warnings generated.


vim +/CONFIG_PAGECALLER +168 mm/page_alloc.c

   167	
 > 168	#if CONFIG_PAGECALLER
   169	#define PAGECALLER_FREE		0
   170	#define PAGECALLER_RESERVED	0xffffffffffffffff
   171	

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

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

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

only message in thread, other threads:[~2021-05-01 21:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-01 21:39 [chunkuang.hu:pagecaller 1/2] mm/page_alloc.c:168:5: warning: 'CONFIG_PAGECALLER' is not defined, evaluates to 0 kernel test robot

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.