[driver-core:class_cleanup 105/105] drivers/char/xilinx_hwicap/xilinx_hwicap.c:117:15: error: expected '=' before string constant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git class_cleanup
head:   b21f747c419ca7d3910446cf21f23fd4cdfad597
commit: b21f747c419ca7d3910446cf21f23fd4cdfad597 [105/105] driver core: convert class_create() to class_register()
config: microblaze-randconfig-r031-20230329 (https://download.01.org/0day-ci/archive/20230331/202303311216.GZ7eEB7w-lkp@xxxxxxxxx/config)
compiler: microblaze-linux-gcc (GCC) 12.1.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
        # https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/commit/?id=b21f747c419ca7d3910446cf21f23fd4cdfad597
        git remote add driver-core https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
        git fetch --no-tags driver-core class_cleanup
        git checkout b21f747c419ca7d3910446cf21f23fd4cdfad597
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=microblaze olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=microblaze SHELL=/bin/bash drivers/char/xilinx_hwicap/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202303311216.GZ7eEB7w-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/char/xilinx_hwicap/xilinx_hwicap.c:117:15: error: expected '=' before string constant
     117 |         .name "xilinx_config",
         |               ^~~~~~~~~~~~~~~


vim +117 drivers/char/xilinx_hwicap/xilinx_hwicap.c

   115	
   116	static const struct class icap_class = {
 > 117		.name "xilinx_config",
   118	};
   119	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux