From: kernel test robot <lkp@intel.com>
To: Yury Norov <yury.norov@gmail.com>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [norov:demotion 5/6] mm/mempolicy.c:3076:38: error: expected expression
Date: Sun, 8 Aug 2021 21:54:56 +0800 [thread overview]
Message-ID: <202108082149.u1ReD7EA-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2324 bytes --]
tree: https://github.com/norov/linux demotion
head: 78c3964952da24c07f2e34dc2d485fd2e6d5ba82
commit: 101e14d51cae3a28013f4e073b7067e405df0521 [5/6] sysfs: add /sys/kernel/mm/numa/demotion_list
config: x86_64-randconfig-a001-20210808 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 41a6b50c25961addc04438b567ee1f4ef9e40f98)
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/norov/linux/commit/101e14d51cae3a28013f4e073b7067e405df0521
git remote add norov https://github.com/norov/linux
git fetch --no-tags norov demotion
git checkout 101e14d51cae3a28013f4e073b7067e405df0521
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 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/mempolicy.c:3076:38: error: expected expression
ret = set_demotion_target(from, to);
^
1 error generated.
vim +3076 mm/mempolicy.c
3052
3053 static ssize_t numa_demotion_list_store(struct kobject *kobj,
3054 struct kobj_attribute *attr,
3055 const char *buf, size_t count)
3056 {
3057 nodemask_t nodes;
3058 char *nodelist;
3059 int from, to, ret;
3060
3061 nodelist = strnchr(buf, count, '>');
3062 if (!nodelist)
3063 return -EINVAL;
3064
3065 *nodelist++ = 0;
3066
3067 ret = kstrtoint(buf, 0, &to);
3068 if (ret)
3069 return ret;
3070
3071 ret = nodelist_parse(nodelist, nodes);
3072 if (ret)
3073 return ret;
3074
3075 for_each_node_mask(from, nodes) {
> 3076 ret = set_demotion_target(from, to);
3077 if (ret == -EXDEV)
3078 pr_warn("Cross-node loop for demotion: %d>%d\n", to, from);
3079 else if (ret)
3080 return ret;
3081 }
3082
3083 return count;
3084 }
3085
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36337 bytes --]
reply other threads:[~2021-08-08 13:55 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=202108082149.u1ReD7EA-lkp@intel.com \
--to=lkp@intel.com \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=yury.norov@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®