From: kernel test robot <lkp@intel.com>
To: Igor Zhbanov <izh1979@gmail.com>,
linux-integrity <linux-integrity@vger.kernel.org>,
linux-security-module <linux-security-module@vger.kernel.org>,
Mimi Zohar <zohar@linux.ibm.com>,
THOBY Simon <Simon.THOBY@viveris.fr>,
linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org
Subject: Re: [PATCH v4 1/1] NAX LSM: Add initial support
Date: Sat, 21 Aug 2021 13:22:54 +0800 [thread overview]
Message-ID: <202108211323.t5p5pVaS-lkp@intel.com> (raw)
In-Reply-To: <cddb2e03-794d-b126-10aa-3670607bf477@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2518 bytes --]
Hi Igor,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linux/master]
[also build test ERROR on linus/master security/next-testing v5.14-rc6 next-20210820]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Igor-Zhbanov/NAX-No-Anonymous-Execution-LSM/20210820-231531
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 349a2d52ffe59b7a0c5876fa7ee9f3eaf188b830
config: microblaze-buildonly-randconfig-r003-20210821 (attached as .config)
compiler: microblaze-linux-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/0day-ci/linux/commit/6c93ee3871fae69975f9fc3c41c0f65743ea7ac8
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Igor-Zhbanov/NAX-No-Anonymous-Execution-LSM/20210820-231531
git checkout 6c93ee3871fae69975f9fc3c41c0f65743ea7ac8
# 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=microblaze SHELL=/bin/bash security/
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 >>):
security/nax/nax-lsm.c: In function 'setup_mode':
>> security/nax/nax-lsm.c:429:27: error: 'max_mode' undeclared (first use in this function)
429 | if (val > max_mode) {
| ^~~~~~~~
security/nax/nax-lsm.c:429:27: note: each undeclared identifier is reported only once for each function it appears in
vim +/max_mode +429 security/nax/nax-lsm.c
423
424 static int __init setup_mode(char *str)
425 {
426 unsigned long val;
427
428 if (!locked && !kstrtoul(str, 0, &val)) {
> 429 if (val > max_mode) {
430 pr_err("Invalid 'nax_mode' parameter value (%s)\n",
431 str);
432 val = max_mode;
433 }
434
435 mode = val;
436 }
437
438 return 1;
439 }
440 __setup("nax_mode=", setup_mode);
441
---
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: 31432 bytes --]
prev parent reply other threads:[~2021-08-21 5:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-20 15:13 [PATCH v4 0/1] NAX (No Anonymous Execution) LSM Igor Zhbanov
2021-08-20 15:14 ` [PATCH v4 1/1] NAX LSM: Add initial support Igor Zhbanov
2021-08-21 5:22 ` kernel test robot [this message]
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=202108211323.t5p5pVaS-lkp@intel.com \
--to=lkp@intel.com \
--cc=Simon.THOBY@viveris.fr \
--cc=izh1979@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=zohar@linux.ibm.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