All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-5.10 171/235] drivers/spmi/spmi-mtk-pmif.c:443:34: warning: unused variable 'mtk_spmi_match_table'
@ 2021-11-30 17:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-30 17:06 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head:   055c73913dc220e483790c1ebf78b39f97220dac
commit: 3795145b0384d3d3dad24f99224607eac72dad60 [171/235] FROMLIST: spmi: mediatek: Add support for MT6873/8192
config: i386-randconfig-r006-20211128 (https://download.01.org/0day-ci/archive/20211201/202112010034.Ofpmcetr-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 25eb7fa01d7ebbe67648ea03841cda55b4239ab2)
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
        git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
        git fetch --no-tags chrome-os chromeos-5.10
        git checkout 3795145b0384d3d3dad24f99224607eac72dad60
        # 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=i386 SHELL=/bin/bash drivers/spmi/ drivers/thermal/intel/int340x_thermal/

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/spmi/spmi-mtk-pmif.c:443:34: warning: unused variable 'mtk_spmi_match_table' [-Wunused-const-variable]
   static const struct of_device_id mtk_spmi_match_table[] = {
                                    ^
   1 warning generated.


vim +/mtk_spmi_match_table +443 drivers/spmi/spmi-mtk-pmif.c

   442	
 > 443	static const struct of_device_id mtk_spmi_match_table[] = {
   444		{
   445			.compatible = "mediatek,mt6873-spmi",
   446			.data = &mt6873_pmif_arb,
   447		}, {
   448			/* sentinel */
   449		},
   450	};
   451	MODULE_DEVICE_TABLE(of, mtk_spmi_match_table);
   452	

---
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] only message in thread

only message in thread, other threads:[~2021-11-30 17:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-30 17:06 [chrome-os:chromeos-5.10 171/235] drivers/spmi/spmi-mtk-pmif.c:443:34: warning: unused variable 'mtk_spmi_match_table' 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.