[aegl:dsa_page_zero_prototype 30/39] mm/page_alloc.c:167:14: error: 'engine_cleanup' defined but not used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git dsa_page_zero_prototype
head:   443bff56d346197a2f8c09c7159ebc9e7440429b
commit: 1cbda083dce71e5bcaeae60233ae5ed7eaa519b5 [30/39] mm/pagezero: Add page zero engine register/unregister functions
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.0
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/aegl/linux.git/commit/?id=1cbda083dce71e5bcaeae60233ae5ed7eaa519b5
        git remote add aegl https://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git
        git fetch --no-tags aegl dsa_page_zero_prototype
        git checkout 1cbda083dce71e5bcaeae60233ae5ed7eaa519b5
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc 

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

All errors (new ones prefixed by >>):

   mm/page_alloc.c:3785:15: error: no previous prototype for 'should_fail_alloc_page' [-Werror=missing-prototypes]
    3785 | noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
         |               ^~~~~~~~~~~~~~~~~~~~~~
>> mm/page_alloc.c:167:14: error: 'engine_cleanup' defined but not used [-Werror=unused-variable]
     167 | static int (*engine_cleanup)(int node, void **v);
         |              ^~~~~~~~~~~~~~
>> mm/page_alloc.c:163:16: error: 'alloc_zone_private' defined but not used [-Werror=unused-variable]
     163 | static void *(*alloc_zone_private)(int node);
         |                ^~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/engine_cleanup +167 mm/page_alloc.c

   162	
 > 163	static void *(*alloc_zone_private)(int node);
   164	static int (*get_zero_pages)(void *private, int migratetype, int want,
   165				     struct list_head *l, int *countp);
   166	static void (*provide_page)(void *v, struct page *page);
 > 167	static int (*engine_cleanup)(int node, void **v);
   168	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux