From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [zen:5.15/lru 12/13] mm/vmscan.c:188:54: error: 'CONFIG_ANON_MIN_KBYTES' undeclared here (not in a function)
Date: Sat, 13 Nov 2021 21:08:18 +0800 [thread overview]
Message-ID: <202111132111.Fr4gApno-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-11-13 13:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202111132111.Fr4gApno-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.