All of lore.kernel.org
 help / color / mirror / Atom feed
* [microchip-ung-linux-upstream:v5.10-webstax 52/88] drivers/mux/sparx5-spi.c:79:34: warning: unused variable 'mux_sparx5_dt_ids'
@ 2020-12-14 14:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-14 14:29 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1972 bytes --]

tree:   https://github.com/microchip-ung/linux-upstream.git v5.10-webstax
head:   0c603c93d534e71ceee9485bfe1b0b75561efb0e
commit: 1f9b3d1675ca11b4a7e7f9d8b74ec2dcc39691e9 [52/88] mux: sparx5: Add Sparx5 SPI mux driver
config: x86_64-randconfig-a004-20201214 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project d38205144febf4dc42c9270c6aa3d978f1ef65e1)
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://github.com/microchip-ung/linux-upstream/commit/1f9b3d1675ca11b4a7e7f9d8b74ec2dcc39691e9
        git remote add microchip-ung-linux-upstream https://github.com/microchip-ung/linux-upstream.git
        git fetch --no-tags microchip-ung-linux-upstream v5.10-webstax
        git checkout 1f9b3d1675ca11b4a7e7f9d8b74ec2dcc39691e9
        # 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@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/mux/sparx5-spi.c:79:34: warning: unused variable 'mux_sparx5_dt_ids' [-Wunused-const-variable]
   static const struct of_device_id mux_sparx5_dt_ids[] = {
                                    ^
   1 warning generated.

vim +/mux_sparx5_dt_ids +79 drivers/mux/sparx5-spi.c

    78	
  > 79	static const struct of_device_id mux_sparx5_dt_ids[] = {
    80		{ .compatible = "microchip,sparx5-spi-mux", },
    81		{ /* sentinel */ }
    82	};
    83	MODULE_DEVICE_TABLE(of, mux_sparx5_dt_ids);
    84	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 41204 bytes --]

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

only message in thread, other threads:[~2020-12-14 14:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 14:29 [microchip-ung-linux-upstream:v5.10-webstax 52/88] drivers/mux/sparx5-spi.c:79:34: warning: unused variable 'mux_sparx5_dt_ids' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.