[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202207142105.MZ2AEE5w-lkp@intel.com>
Date: Thu, 14 Jul 2022 21:14:56 +0800
From: kernel test robot <lkp@...el.com>
To: Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [andersson:wip/sc8280xp-next-20220708-incomplete 23/25]
drivers/soc/qcom/pmic_glink.c:200:34: warning: 'pmic_glink_of_match' defined
but not used
tree: https://github.com/andersson/kernel wip/sc8280xp-next-20220708-incomplete
head: 49ce77f5c8eae56c32a9638a971b18ae1078a222
commit: 75703ed2e9bd3cfaa15461fba5fb0bc53cc0c1ea [23/25] soc: qcom: pmic_glink: Introduce base PMIC GLINK driver
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220714/202207142105.MZ2AEE5w-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/andersson/kernel/commit/75703ed2e9bd3cfaa15461fba5fb0bc53cc0c1ea
git remote add andersson https://github.com/andersson/kernel
git fetch --no-tags andersson wip/sc8280xp-next-20220708-incomplete
git checkout 75703ed2e9bd3cfaa15461fba5fb0bc53cc0c1ea
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/soc/qcom/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/soc/qcom/pmic_glink.c:200:34: warning: 'pmic_glink_of_match' defined but not used [-Wunused-const-variable=]
200 | static const struct of_device_id pmic_glink_of_match[] = {
| ^~~~~~~~~~~~~~~~~~~
vim +/pmic_glink_of_match +200 drivers/soc/qcom/pmic_glink.c
199
> 200 static const struct of_device_id pmic_glink_of_match[] = {
201 { .compatible = "qcom,pmic-glink", },
202 {}
203 };
204 MODULE_DEVICE_TABLE(of, pmic_glink_of_match);
205
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists