From: kernel test robot <lkp@intel.com>
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 [thread overview]
Message-ID: <202112010034.Ofpmcetr-lkp@intel.com> (raw)
[-- 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
reply other threads:[~2021-11-30 17:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202112010034.Ofpmcetr-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.