* [zen-kernel-zen-kernel:5.14/lru 14/16] mm/vmscan.c:184:54: error: 'CONFIG_ANON_MIN_KBYTES' undeclared here (not in a function)
@ 2021-09-06 21:00 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-06 21:00 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3276 bytes --]
tree: https://github.com/zen-kernel/zen-kernel 5.14/lru
head: 604cd836f7e6aff5346527d869ecac3868135aea
commit: 1a189125f168347733869ea8ff968375d6c81c14 [14/16] mm/vmscan: add sysctl knobs for protecting the working set
config: arc-randconfig-r043-20210906 (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://github.com/zen-kernel/zen-kernel/commit/1a189125f168347733869ea8ff968375d6c81c14
git remote add zen-kernel-zen-kernel https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.14/lru
git checkout 1a189125f168347733869ea8ff968375d6c81c14
# 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=arc 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:184:54: error: 'CONFIG_ANON_MIN_KBYTES' undeclared here (not in a function)
184 | unsigned long sysctl_anon_min_kbytes __read_mostly = CONFIG_ANON_MIN_KBYTES;
| ^~~~~~~~~~~~~~~~~~~~~~
>> mm/vmscan.c:185:55: error: 'CONFIG_CLEAN_LOW_KBYTES' undeclared here (not in a function)
185 | unsigned long sysctl_clean_low_kbytes __read_mostly = CONFIG_CLEAN_LOW_KBYTES;
| ^~~~~~~~~~~~~~~~~~~~~~~
>> mm/vmscan.c:186:55: error: 'CONFIG_CLEAN_MIN_KBYTES' undeclared here (not in a function)
186 | unsigned long sysctl_clean_min_kbytes __read_mostly = CONFIG_CLEAN_MIN_KBYTES;
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/perf_event.h:25,
from include/linux/trace_events.h:10,
from include/trace/trace_events.h:21,
from include/trace/define_trace.h:102,
from include/trace/events/vmscan.h:460,
from mm/vmscan.c:67:
arch/arc/include/asm/perf_event.h:126:27: warning: 'arc_pmu_cache_map' defined but not used [-Wunused-const-variable=]
126 | static const unsigned int arc_pmu_cache_map[C(MAX)][C(OP_MAX)][C(RESULT_MAX)] = {
| ^~~~~~~~~~~~~~~~~
arch/arc/include/asm/perf_event.h:91:27: warning: 'arc_pmu_ev_hw_map' defined but not used [-Wunused-const-variable=]
91 | static const char * const arc_pmu_ev_hw_map[] = {
| ^~~~~~~~~~~~~~~~~
vim +/CONFIG_ANON_MIN_KBYTES +184 mm/vmscan.c
183
> 184 unsigned long sysctl_anon_min_kbytes __read_mostly = CONFIG_ANON_MIN_KBYTES;
> 185 unsigned long sysctl_clean_low_kbytes __read_mostly = CONFIG_CLEAN_LOW_KBYTES;
> 186 unsigned long sysctl_clean_min_kbytes __read_mostly = CONFIG_CLEAN_MIN_KBYTES;
187
---
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: 30703 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-06 21:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-06 21:00 [zen-kernel-zen-kernel:5.14/lru 14/16] mm/vmscan.c:184: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.