lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201601210441.7yvmrqFe%fengguang.wu@intel.com>
Date:	Thu, 21 Jan 2016 04:12:47 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc:	kbuild-all@...org, Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>,
	"H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org,
	"Ong, Boon Leong" <boon.leong.ong@...el.com>,
	Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: Re: [PATCH v1 1/1] x86/platform/quark: Print boundaries correctly

Hi Andy,

[auto build test ERROR on tip/auto-latest]
[also build test ERROR on v4.4 next-20160120]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Andy-Shevchenko/x86-platform-quark-Print-boundaries-correctly/20160121-032714
config: i386-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   arch/x86/platform/intel-quark/imr.c: In function 'imr_fixup_memmap':
>> arch/x86/platform/intel-quark/imr.c:600:3: error: invalid use of array with unspecified bounds
      pr_err("unable to setup IMR for kernel: (%p - %p)\n",
      ^
   arch/x86/platform/intel-quark/imr.c:603:3: error: invalid use of array with unspecified bounds
      pr_info("protecting kernel .text - .rodata: %zu KiB (%p - %p)\n",
      ^

vim +600 arch/x86/platform/intel-quark/imr.c

4fc6cc68 Andy Shevchenko  2016-01-20  594  	 *
4fc6cc68 Andy Shevchenko  2016-01-20  595  	 * We don't round up @size since it is already PAGE_SIZE aligned.
4fc6cc68 Andy Shevchenko  2016-01-20  596  	 * See vmlinux.lds.S for details.
28a375df Bryan O'Donoghue 2015-01-30  597  	 */
28a375df Bryan O'Donoghue 2015-01-30  598  	ret = imr_add_range(base, size, IMR_CPU, IMR_CPU, true);
28a375df Bryan O'Donoghue 2015-01-30  599  	if (ret < 0) {
28a375df Bryan O'Donoghue 2015-01-30 @600  		pr_err("unable to setup IMR for kernel: (%p - %p)\n",
4fc6cc68 Andy Shevchenko  2016-01-20  601  			&_text, &__end_rodata - 1);
28a375df Bryan O'Donoghue 2015-01-30  602  	} else {
28a375df Bryan O'Donoghue 2015-01-30  603  		pr_info("protecting kernel .text - .rodata: %zu KiB (%p - %p)\n",

:::::: The code at line 600 was first introduced by commit
:::::: 28a375df16c2b6d01227541f3956568995aa5fda x86/intel/quark: Add Isolated Memory Regions for Quark X1000

:::::: TO: Bryan O'Donoghue <pure.logic@...us-software.ie>
:::::: CC: Ingo Molnar <mingo@...nel.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (53093 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ