tree:
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.10
head: 23ce1e5c27396e39efabb58714142e8f10ce1f0c
commit: 38573472278da49e2ab588062d88bc2f0c11a325 [10/21] regulator: rpi-panel: Add
regulator/backlight driver for RPi panel
config: x86_64-randconfig-a005-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 38573472278da49e2ab588062d88bc2f0c11a325
# 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/rpi-panel-attiny-regulator.c:196:34: warning:
unused variable 'attiny_dt_ids' [-Wunused-const-variable]
static const
struct of_device_id attiny_dt_ids[] = {
^
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 38573472278da49e2ab588062d88bc2f0c11a325
vim +/attiny_dt_ids +196 drivers/regulator/rpi-panel-attiny-regulator.c
195
196 static const struct of_device_id attiny_dt_ids[] = {
197 { .compatible = "raspberrypi,7inch-touchscreen-panel-regulator" },
198 {},
199 };
200 MODULE_DEVICE_TABLE(of, attiny_dt_ids);
201
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org