All of lore.kernel.org
 help / color / mirror / Atom feed
* [saeed:net-next 48/260] drivers/net/dsa/realtek/realtek-mdio.c:203:34: warning: unused variable 'realtek_mdio_of_match'
@ 2022-02-05 21:02 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-02-05 21:02 UTC (permalink / raw)
  To: Luiz Angelo Daros de Luca; +Cc: llvm, kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git net-next
head:   69dd0fdc44211d799165e6959057b323accc5afe
commit: aac94001067da183455d6d37959892744fa01d9d [48/260] net: dsa: realtek: add new mdio interface for drivers
config: arm-randconfig-r001-20220206 (https://download.01.org/0day-ci/archive/20220206/202202060415.LYwQvNJX-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project dee058c670593b999fec19c458dbbd882ad9de56)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git/commit/?id=aac94001067da183455d6d37959892744fa01d9d
        git remote add saeed https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git
        git fetch --no-tags saeed net-next
        git checkout aac94001067da183455d6d37959892744fa01d9d
        # 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=arm SHELL=/bin/bash drivers/net/dsa/realtek/

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/net/dsa/realtek/realtek-mdio.c:203:34: warning: unused variable 'realtek_mdio_of_match' [-Wunused-const-variable]
   static const struct of_device_id realtek_mdio_of_match[] = {
                                    ^
   1 warning generated.


vim +/realtek_mdio_of_match +203 drivers/net/dsa/realtek/realtek-mdio.c

   202	
 > 203	static const struct of_device_id realtek_mdio_of_match[] = {
   204	#if IS_ENABLED(CONFIG_NET_DSA_REALTEK_RTL8366RB)
   205		{ .compatible = "realtek,rtl8366rb", .data = &rtl8366rb_variant, },
   206	#endif
   207	#if IS_ENABLED(CONFIG_NET_DSA_REALTEK_RTL8365MB)
   208		{ .compatible = "realtek,rtl8365mb", .data = &rtl8365mb_variant, },
   209	#endif
   210		{ /* sentinel */ },
   211	};
   212	MODULE_DEVICE_TABLE(of, realtek_mdio_of_match);
   213	

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [saeed:net-next 48/260] drivers/net/dsa/realtek/realtek-mdio.c:203:34: warning: unused variable 'realtek_mdio_of_match'
@ 2022-02-05 21:02 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-02-05 21:02 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git net-next
head:   69dd0fdc44211d799165e6959057b323accc5afe
commit: aac94001067da183455d6d37959892744fa01d9d [48/260] net: dsa: realtek: add new mdio interface for drivers
config: arm-randconfig-r001-20220206 (https://download.01.org/0day-ci/archive/20220206/202202060415.LYwQvNJX-lkp(a)intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project dee058c670593b999fec19c458dbbd882ad9de56)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git/commit/?id=aac94001067da183455d6d37959892744fa01d9d
        git remote add saeed https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git
        git fetch --no-tags saeed net-next
        git checkout aac94001067da183455d6d37959892744fa01d9d
        # 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=arm SHELL=/bin/bash drivers/net/dsa/realtek/

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/net/dsa/realtek/realtek-mdio.c:203:34: warning: unused variable 'realtek_mdio_of_match' [-Wunused-const-variable]
   static const struct of_device_id realtek_mdio_of_match[] = {
                                    ^
   1 warning generated.


vim +/realtek_mdio_of_match +203 drivers/net/dsa/realtek/realtek-mdio.c

   202	
 > 203	static const struct of_device_id realtek_mdio_of_match[] = {
   204	#if IS_ENABLED(CONFIG_NET_DSA_REALTEK_RTL8366RB)
   205		{ .compatible = "realtek,rtl8366rb", .data = &rtl8366rb_variant, },
   206	#endif
   207	#if IS_ENABLED(CONFIG_NET_DSA_REALTEK_RTL8365MB)
   208		{ .compatible = "realtek,rtl8365mb", .data = &rtl8365mb_variant, },
   209	#endif
   210		{ /* sentinel */ },
   211	};
   212	MODULE_DEVICE_TABLE(of, realtek_mdio_of_match);
   213	

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-05 21:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-05 21:02 [saeed:net-next 48/260] drivers/net/dsa/realtek/realtek-mdio.c:203:34: warning: unused variable 'realtek_mdio_of_match' kernel test robot
2022-02-05 21:02 ` 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.