* [linux-next:master 3906/3985] fs/proc/vmcore.c:59:43: error: expected ')' before 'bool'
@ 2019-06-02 18:35 kbuild test robot
2019-06-03 22:14 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-06-02 18:35 UTC (permalink / raw)
To: Kairui Song
Cc: kbuild-all, Bhupesh Sharma, Andrew Morton, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 1142 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 3c09c1950c8483eeeb4bf9615ecdcec7234c6790
commit: 0f5a18299c6b7e1d6900d950006d3fad329f6c6e [3906/3985] vmcore: Add a kernel parameter novmcoredd
config: x86_64-randconfig-g2-201921 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
git checkout 0f5a18299c6b7e1d6900d950006d3fad329f6c6e
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> fs/proc/vmcore.c:59:43: error: expected ')' before 'bool'
core_param(novmcoredd, vmcoredd_disabled, bool, 0);
^~~~
vim +59 fs/proc/vmcore.c
57
58 static bool vmcoredd_disabled;
> 59 core_param(novmcoredd, vmcoredd_disabled, bool, 0);
60 #endif /* CONFIG_PROC_VMCORE_DEVICE_DUMP */
61
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32666 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-next:master 3906/3985] fs/proc/vmcore.c:59:43: error: expected ')' before 'bool'
2019-06-02 18:35 [linux-next:master 3906/3985] fs/proc/vmcore.c:59:43: error: expected ')' before 'bool' kbuild test robot
@ 2019-06-03 22:14 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2019-06-03 22:14 UTC (permalink / raw)
To: kbuild test robot
Cc: Kairui Song, kbuild-all, Bhupesh Sharma, Linux Memory Management List
On Mon, 3 Jun 2019 02:35:34 +0800 kbuild test robot <lkp@intel.com> wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: 3c09c1950c8483eeeb4bf9615ecdcec7234c6790
> commit: 0f5a18299c6b7e1d6900d950006d3fad329f6c6e [3906/3985] vmcore: Add a kernel parameter novmcoredd
> config: x86_64-randconfig-g2-201921 (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
> git checkout 0f5a18299c6b7e1d6900d950006d3fad329f6c6e
> # save the attached .config to linux build tree
> make ARCH=x86_64
>
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> >> fs/proc/vmcore.c:59:43: error: expected ')' before 'bool'
> core_param(novmcoredd, vmcoredd_disabled, bool, 0);
> ^~~~
>
> vim +59 fs/proc/vmcore.c
>
> 57
> 58 static bool vmcoredd_disabled;
> > 59 core_param(novmcoredd, vmcoredd_disabled, bool, 0);
> 60 #endif /* CONFIG_PROC_VMCORE_DEVICE_DUMP */
> 61
--- a/fs/proc/vmcore.c~vmcore-add-a-kernel-parameter-novmcoredd-fix-fix
+++ a/fs/proc/vmcore.c
@@ -21,6 +21,7 @@
#include <linux/init.h>
#include <linux/crash_dump.h>
#include <linux/list.h>
+#include <linux/moduleparam.h>
#include <linux/mutex.h>
#include <linux/vmalloc.h>
#include <linux/pagemap.h>
_
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-03 22:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-02 18:35 [linux-next:master 3906/3985] fs/proc/vmcore.c:59:43: error: expected ')' before 'bool' kbuild test robot
2019-06-03 22:14 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox