[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203091303.wDvLl30f-lkp@intel.com>
Date: Wed, 9 Mar 2022 13:48:58 +0800
From: kernel test robot <lkp@...el.com>
To: Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [andersson:tuxsuite 29/42] drivers/soc/qcom/pmic_glink.c:200:34:
warning: unused variable 'pmic_glink_of_match'
tree: https://github.com/andersson/kernel tuxsuite
head: d1c9502cfe160da3c09a0f379147f16d559e4ab7
commit: eb61d6c02e912eee3c26927b311b643f262b4036 [29/42] soc: qcom: pmic_glink: Introduce base PMIC GLINK driver
config: arm64-randconfig-r016-20220307 (https://download.01.org/0day-ci/archive/20220309/202203091303.wDvLl30f-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/andersson/kernel/commit/eb61d6c02e912eee3c26927b311b643f262b4036
git remote add andersson https://github.com/andersson/kernel
git fetch --no-tags andersson tuxsuite
git checkout eb61d6c02e912eee3c26927b311b643f262b4036
# 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=arm64 SHELL=/bin/bash drivers/soc/qcom/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/soc/qcom/pmic_glink.c:200:34: warning: unused variable 'pmic_glink_of_match' [-Wunused-const-variable]
static const struct of_device_id pmic_glink_of_match[] = {
^
1 warning generated.
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, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists