Messages in this thread | | | Date | Thu, 13 Jan 2022 19:04:26 +0800 | From | kernel test robot <> | Subject | [rmk-arm:sa1100 51/57] drivers/pcmcia/sa1100_h3600.c:16:8: error: redefinition of 'struct ipaq_option_id' |
| |
tree: git://git.armlinux.org.uk/~rmk/linux-arm sa1100 head: 7c5e0e177553f8a9ef3424e59fb3ef69c6b71689 commit: 0c9773b1e881f134894c15133ca61b79432d7d89 [51/57] pcmcia: convert sa1100_h3600 to support dual-slot sleeve only config: arm-h3600_defconfig (https://download.01.org/0day-ci/archive/20220113/202201131931.mrlITrew-lkp@intel.com/config) compiler: arm-linux-gnueabi-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 rmk-arm git://git.armlinux.org.uk/~rmk/linux-arm git fetch --no-tags rmk-arm sa1100 git checkout 0c9773b1e881f134894c15133ca61b79432d7d89 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/pcmcia/sa1100_h3600.c:16:8: error: redefinition of 'struct ipaq_option_id' 16 | struct ipaq_option_id { | ^~~~~~~~~~~~~~ In file included from include/linux/of.h:18, from include/linux/cpufreq.h:17, from drivers/pcmcia/soc_common.h:15, from drivers/pcmcia/sa1100_generic.h:2, from drivers/pcmcia/sa1100_h3600.c:14: include/linux/mod_devicetable.h:646:8: note: originally defined here 646 | struct ipaq_option_id { | ^~~~~~~~~~~~~~
vim +16 drivers/pcmcia/sa1100_h3600.c
15 > 16 struct ipaq_option_id { 17 u16 vendor; 18 u16 device; 19 }; 20
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |