From: kernel test robot <lkp@intel.com>
To: Youling Tang <youling.tang@outlook.com>, Baoquan He <bhe@redhat.com>
Cc: oe-kbuild-all@lists.linux.dev,
Huacai Chen <chenhuacai@loongson.cn>,
linux-kernel@vger.kernel.org,
Youling Tang <tangyouling@kylinos.cn>
Subject: Re: [PATCH] kdump: Remove redundant DEFAULT_CRASH_KERNEL_LOW_SIZE
Date: Wed, 27 Dec 2023 01:13:41 +0800 [thread overview]
Message-ID: <202312270133.8w4Wrh4h-lkp@intel.com> (raw)
In-Reply-To: <MW4PR84MB3145D3EB871BBD59AA71C0FC8198A@MW4PR84MB3145.NAMPRD84.PROD.OUTLOOK.COM>
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@intel.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
next prev parent reply other threads:[~2023-12-26 17:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-26 11:22 [PATCH] kdump: Remove redundant DEFAULT_CRASH_KERNEL_LOW_SIZE Youling Tang
2023-12-26 17:13 ` kernel test robot [this message]
2023-12-27 0:48 ` Baoquan He
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=202312270133.8w4Wrh4h-lkp@intel.com \
--to=lkp@intel.com \
--cc=bhe@redhat.com \
--cc=chenhuacai@loongson.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tangyouling@kylinos.cn \
--cc=youling.tang@outlook.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 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.