tree:
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.10
head: 23ce1e5c27396e39efabb58714142e8f10ce1f0c
commit: 5bbbfc7f7f0a44b7a85ab3872dd2ccce7019f7b1 [3/21] regulator: rt4801: Add support for
RT4801 Display Bias regulator driver
config: x86_64-randconfig-r032-20200824 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
b587ca93be114d07ec3bf654add97d7872325281)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 5bbbfc7f7f0a44b7a85ab3872dd2ccce7019f7b1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/regulator/rt4801-regulator.c:206:34: warning: unused
variable 'rt4801_of_id' [-Wunused-const-variable]
static const struct
of_device_id rt4801_of_id[] = {
^
1 warning generated.
#
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git/com...
git remote add regulator
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git
git fetch --no-tags regulator for-5.10
git checkout 5bbbfc7f7f0a44b7a85ab3872dd2ccce7019f7b1
vim +/rt4801_of_id +206 drivers/regulator/rt4801-regulator.c
205
206 static const struct of_device_id rt4801_of_id[] = {
207 { .compatible = "richtek,rt4801", },
208 { },
209 };
210 MODULE_DEVICE_TABLE(of, rt4801_of_id);
211
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org