tree:
https://github.com/frank-w/BPI-R2-4.14 5.15-bpi-r2-pro-drm2
head: 0ab1ef3f4d5eae2229584acdde09e8ea708fc052
commit: 7853190f99eb12f73fef92b394355e81b2b491ef [83/88] drm: forward port of VOP2 driver
config: parisc-buildonly-randconfig-r002-20211021 (attached as .config)
compiler: hppa-linux-gcc (GCC) 11.2.0
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
#
https://github.com/frank-w/BPI-R2-4.14/commit/7853190f99eb12f73fef92b3943...
git remote add frank-w-bpi-r2-4.14
https://github.com/frank-w/BPI-R2-4.14
git fetch --no-tags frank-w-bpi-r2-4.14 5.15-bpi-r2-pro-drm2
git checkout 7853190f99eb12f73fef92b394355e81b2b491ef
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/gpu/drm/rockchip/rockchip_vop2_reg.c:1243:34: error:
'vop2_dt_match' defined but not used [-Werror=unused-const-variable=]
1243 | static const struct of_device_id vop2_dt_match[] = {
| ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/vop2_dt_match +1243 drivers/gpu/drm/rockchip/rockchip_vop2_reg.c
1242
1243 static const struct of_device_id vop2_dt_match[] = {
1244 { .compatible = "rockchip,rk3568-vop",
1245 .data = &rk3568_vop },
1246 {},
1247 };
1248 MODULE_DEVICE_TABLE(of, vop2_dt_match);
1249
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org