On Mon, 3 Jun 2019 02:35:34 +0800 kbuild test robot <lkp@xxxxxxxxx> 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@xxxxxxxxx> > > 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> _