[linux-next:master 8127/13009] drivers/mtd/devices/mchp48l640.c:350:34: warning: unused variable 'mchp48l640_of_table'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   2a8927f0efb6fb34b9d11dab3bd3f018e866d36d
commit: 88d1250267535b26106ca9582701bbad940cec01 [8127/13009] mtd: devices: add support for microchip 48l640 EERAM
config: x86_64-randconfig-r025-20210625 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9ca0171a9ffdef5fdb1511d197a3fd72490362de)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=88d1250267535b26106ca9582701bbad940cec01
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 88d1250267535b26106ca9582701bbad940cec01
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/mtd/devices/mchp48l640.c:350:34: warning: unused variable 'mchp48l640_of_table' [-Wunused-const-variable]
   static const struct of_device_id mchp48l640_of_table[] = {
                                    ^
   1 warning generated.


vim +/mchp48l640_of_table +350 drivers/mtd/devices/mchp48l640.c

   349	
 > 350	static const struct of_device_id mchp48l640_of_table[] = {
   351		{
   352			.compatible = "microchip,48l640",
   353			.data = &mchp48l640_caps,
   354		},
   355		{}
   356	};
   357	MODULE_DEVICE_TABLE(of, mchp48l640_of_table);
   358	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux