All of lore.kernel.org
 help / color / mirror / Atom feed
* [zen:5.15/lru 12/13] mm/vmscan.c:188:54: error: 'CONFIG_ANON_MIN_KBYTES' undeclared here (not in a function)
@ 2021-11-13 13:08 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-13 13:08 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/zen-kernel/zen-kernel 5.15/lru
head:   9c0236bacebd2c7783322c02a862ec8e6fac9f34
commit: 6ea6a04a179922d0a8b47d8bef2b56cd48d72da9 [12/13] mm/vmscan: add sysctl knobs for protecting the working set
config: arm-buildonly-randconfig-r005-20211111 (attached as .config)
compiler: arm-linux-gnueabi-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://github.com/zen-kernel/zen-kernel/commit/6ea6a04a179922d0a8b47d8bef2b56cd48d72da9
        git remote add zen https://github.com/zen-kernel/zen-kernel
        git fetch --no-tags zen 5.15/lru
        git checkout 6ea6a04a179922d0a8b47d8bef2b56cd48d72da9
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash

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/vmscan.c:188:54: error: 'CONFIG_ANON_MIN_KBYTES' undeclared here (not in a function)
     188 | unsigned long sysctl_anon_min_kbytes __read_mostly = CONFIG_ANON_MIN_KBYTES;
         |                                                      ^~~~~~~~~~~~~~~~~~~~~~
>> mm/vmscan.c:189:55: error: 'CONFIG_CLEAN_LOW_KBYTES' undeclared here (not in a function)
     189 | unsigned long sysctl_clean_low_kbytes __read_mostly = CONFIG_CLEAN_LOW_KBYTES;
         |                                                       ^~~~~~~~~~~~~~~~~~~~~~~
>> mm/vmscan.c:190:55: error: 'CONFIG_CLEAN_MIN_KBYTES' undeclared here (not in a function)
     190 | unsigned long sysctl_clean_min_kbytes __read_mostly = CONFIG_CLEAN_MIN_KBYTES;
         |                                                       ^~~~~~~~~~~~~~~~~~~~~~~
   mm/vmscan.c: In function 'demote_page_list':
   mm/vmscan.c:1360:13: warning: variable 'err' set but not used [-Wunused-but-set-variable]
    1360 |         int err;
         |             ^~~


vim +/CONFIG_ANON_MIN_KBYTES +188 mm/vmscan.c

   187	
 > 188	unsigned long sysctl_anon_min_kbytes __read_mostly = CONFIG_ANON_MIN_KBYTES;
 > 189	unsigned long sysctl_clean_low_kbytes __read_mostly = CONFIG_CLEAN_LOW_KBYTES;
 > 190	unsigned long sysctl_clean_min_kbytes __read_mostly = CONFIG_CLEAN_MIN_KBYTES;
   191	

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

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-13 13:08 [zen:5.15/lru 12/13] mm/vmscan.c:188:54: error: 'CONFIG_ANON_MIN_KBYTES' undeclared here (not in a function) 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.