[kraxel:pcie-hotplug 1/1] drivers/pci/hotplug/pciehp_ctrl.c:25:34: error: expected ')' before 'bool'
From: kernel test robot
Date: Sun Oct 31 2021 - 12:30:34 EST
tree: git://git.kraxel.org/linux pcie-hotplug
head: 074627a24a54203f2b4baf787fd4110c78222e23
commit: 074627a24a54203f2b4baf787fd4110c78222e23 [1/1] pciehp: fast virtual unplug for VMs
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add kraxel git://git.kraxel.org/linux
git fetch --no-tags kraxel pcie-hotplug
git checkout 074627a24a54203f2b4baf787fd4110c78222e23
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=xtensa SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
>> drivers/pci/hotplug/pciehp_ctrl.c:25:34: error: expected ')' before 'bool'
25 | module_param(fast_virtual_unplug, bool, 0644);
| ^~~~~
| )
>> drivers/pci/hotplug/pciehp_ctrl.c:26:38: error: expected ')' before string constant
26 | MODULE_PARM_DESC(fast_virtual_unplug, "Fast unplug (don't wait 5 seconds) for virtual machines.");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| )
vim +25 drivers/pci/hotplug/pciehp_ctrl.c
23
24 static bool fast_virtual_unplug = true;
> 25 module_param(fast_virtual_unplug, bool, 0644);
> 26 MODULE_PARM_DESC(fast_virtual_unplug, "Fast unplug (don't wait 5 seconds) for virtual machines.");
27
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip