mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/fpga/microchip-spi.c:341:34: warning: unused variable 'mpf_of_ids'
@ 2022-02-17  7:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-02-17  7:06 UTC (permalink / raw)
  To: Ivan Bornyakov; +Cc: llvm, kbuild-all, linux-kernel, 0day robot

tree:   https://github.com/0day-ci/linux/commits/UPDATE-20220217-002021/Ivan-Bornyakov/fpga-microsemi-spi-add-Microsemi-FPGA-manager/20220214-222923
head:   6acf97cc27bd55298cb9d6a365b078b09e2b6acf
commit: 6acf97cc27bd55298cb9d6a365b078b09e2b6acf fpga: microchip-spi: add Microchip FPGA manager
date:   15 hours ago
config: mips-randconfig-r006-20220217 (https://download.01.org/0day-ci/archive/20220217/202202171552.gFz6PXXK-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0bad7cb56526f2572c74449fcf97c1fcda42b41d)
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 mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        # https://github.com/0day-ci/linux/commit/6acf97cc27bd55298cb9d6a365b078b09e2b6acf
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review UPDATE-20220217-002021/Ivan-Bornyakov/fpga-microsemi-spi-add-Microsemi-FPGA-manager/20220214-222923
        git checkout 6acf97cc27bd55298cb9d6a365b078b09e2b6acf
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/fpga/

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

All warnings (new ones prefixed by >>):

>> drivers/fpga/microchip-spi.c:341:34: warning: unused variable 'mpf_of_ids' [-Wunused-const-variable]
   static const struct of_device_id mpf_of_ids[] = {
                                    ^
   1 warning generated.


vim +/mpf_of_ids +341 drivers/fpga/microchip-spi.c

   340	
 > 341	static const struct of_device_id mpf_of_ids[] = {
   342		{ .compatible = "microchip,mpf-spi-fpga-mgr" },
   343		{},
   344	};
   345	MODULE_DEVICE_TABLE(of, mpf_of_ids);
   346	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-17  7:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-17  7:06 drivers/fpga/microchip-spi.c:341:34: warning: unused variable 'mpf_of_ids' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®