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] [thread-next>] [day] [month] [year] [list]
Message-ID: <202312270133.8w4Wrh4h-lkp@intel.com>
Date: Wed, 27 Dec 2023 01:13:41 +0800
From: kernel test robot <lkp@...el.com>
To: Youling Tang <youling.tang@...look.com>, Baoquan He <bhe@...hat.com>
Cc: oe-kbuild-all@...ts.linux.dev, Huacai Chen <chenhuacai@...ngson.cn>,
	linux-kernel@...r.kernel.org, Youling Tang <tangyouling@...inos.cn>
Subject: Re: [PATCH] kdump: Remove redundant DEFAULT_CRASH_KERNEL_LOW_SIZE

Hi Youling,

kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on v6.7-rc7 next-20231222]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Youling-Tang/kdump-Remove-redundant-DEFAULT_CRASH_KERNEL_LOW_SIZE/20231226-193215
base:   linus/master
patch link:    https://lore.kernel.org/r/MW4PR84MB3145D3EB871BBD59AA71C0FC8198A%40MW4PR84MB3145.NAMPRD84.PROD.OUTLOOK.COM
patch subject: [PATCH] kdump: Remove redundant DEFAULT_CRASH_KERNEL_LOW_SIZE
config: i386-buildonly-randconfig-002-20231226 (https://download.01.org/0day-ci/archive/20231227/202312270133.8w4Wrh4h-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231227/202312270133.8w4Wrh4h-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312270133.8w4Wrh4h-lkp@intel.com/

All errors (new ones prefixed by >>):

   arch/x86/kernel/setup.c: In function 'arch_reserve_crashkernel':
>> arch/x86/kernel/setup.c:479:8: error: implicit declaration of function 'parse_crashkernel' [-Werror=implicit-function-declaration]
     479 |  ret = parse_crashkernel(cmdline, memblock_phys_mem_size(),
         |        ^~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/parse_crashkernel +479 arch/x86/kernel/setup.c

a0a0becd2da0ba Yinghai Lu     2008-07-03  468  
9c08a2a139fe83 Baoquan He     2023-09-14  469  static void __init arch_reserve_crashkernel(void)
ccb4defa71744f Yinghai Lu     2008-06-25  470  {
9c08a2a139fe83 Baoquan He     2023-09-14  471  	unsigned long long crash_base, crash_size, low_size = 0;
9c08a2a139fe83 Baoquan He     2023-09-14  472  	char *cmdline = boot_command_line;
55a20ee7804ab6 Yinghai Lu     2013-04-15  473  	bool high = false;
ccb4defa71744f Yinghai Lu     2008-06-25  474  	int ret;
ccb4defa71744f Yinghai Lu     2008-06-25  475  
4ece09be9913a8 Jisheng Zhang  2022-03-23  476  	if (!IS_ENABLED(CONFIG_KEXEC_CORE))
4ece09be9913a8 Jisheng Zhang  2022-03-23  477  		return;
4ece09be9913a8 Jisheng Zhang  2022-03-23  478  
9c08a2a139fe83 Baoquan He     2023-09-14 @479  	ret = parse_crashkernel(cmdline, memblock_phys_mem_size(),
9c08a2a139fe83 Baoquan He     2023-09-14  480  				&crash_size, &crash_base,
9c08a2a139fe83 Baoquan He     2023-09-14  481  				&low_size, &high);
9c08a2a139fe83 Baoquan He     2023-09-14  482  	if (ret)
32105f7fd8faa7 Bernhard Walle 2008-06-26  483  		return;
32105f7fd8faa7 Bernhard Walle 2008-06-26  484  
3db3eb285259ac Petr Tesarik   2018-04-25  485  	if (xen_pv_domain()) {
3db3eb285259ac Petr Tesarik   2018-04-25  486  		pr_info("Ignoring crashkernel for a Xen PV domain\n");
3db3eb285259ac Petr Tesarik   2018-04-25  487  		return;
3db3eb285259ac Petr Tesarik   2018-04-25  488  	}
3db3eb285259ac Petr Tesarik   2018-04-25  489  
9c08a2a139fe83 Baoquan He     2023-09-14  490  	reserve_crashkernel_generic(cmdline, crash_size, crash_base,
9c08a2a139fe83 Baoquan He     2023-09-14  491  				    low_size, high);
ccb4defa71744f Yinghai Lu     2008-06-25  492  }
ccb4defa71744f Yinghai Lu     2008-06-25  493  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ