From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0290159417431957478==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [chrome-os:chromeos-5.10 171/235] drivers/spmi/spmi-mtk-pmif.c:443:34: warning: unused variable 'mtk_spmi_match_table' Date: Wed, 01 Dec 2021 01:06:25 +0800 Message-ID: <202112010034.Ofpmcetr-lkp@intel.com> List-Id: --===============0290159417431957478== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chr= omeos-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/arch= ive/20211201/202112010034.Ofpmcetr-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 25eb7f= a01d7ebbe67648ea03841cda55b4239ab2) reproduce (this is a W=3D1 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/chromium= os/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=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/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 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[] =3D { ^ 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[] =3D { 444 { 445 .compatible =3D "mediatek,mt6873-spmi", 446 .data =3D &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 --===============0290159417431957478==--