tree:
https://github.com/frank-w/BPI-R2-4.14 5.14-hdmilarb2
head: 470ade477361a12be809a11457389924e4348e67
commit: 73dad51765a234171ad085d11f6aafb00ab9b863 [29/36] mtk-mdp: soc: mediatek: register
mdp from mmsys
config: powerpc64-buildonly-randconfig-r004-20210715 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
0e49c54a8cbd3e779e5526a5888c683c01cc3c50)
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 powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
#
https://github.com/frank-w/BPI-R2-4.14/commit/73dad51765a234171ad085d11f6...
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.14-hdmilarb2
git checkout 73dad51765a234171ad085d11f6aafb00ab9b863
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
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/media/platform/mtk-mdp/mtk_mdp_core.c:47:34: warning:
unused variable 'mtk_mdp_of_ids' [-Wunused-const-variable]
static const
struct of_device_id mtk_mdp_of_ids[] = {
^
1 warning generated.
vim +/mtk_mdp_of_ids +47 drivers/media/platform/mtk-mdp/mtk_mdp_core.c
c8eb2d7e8202fd Minghsiu Tsai 2016-09-08 46
c8eb2d7e8202fd Minghsiu Tsai 2016-09-08 @47 static const struct of_device_id
mtk_mdp_of_ids[] = {
c8eb2d7e8202fd Minghsiu Tsai 2016-09-08 48 { .compatible =
"mediatek,mt8173-mdp", },
c8eb2d7e8202fd Minghsiu Tsai 2016-09-08 49 { },
c8eb2d7e8202fd Minghsiu Tsai 2016-09-08 50 };
c8eb2d7e8202fd Minghsiu Tsai 2016-09-08 51 MODULE_DEVICE_TABLE(of, mtk_mdp_of_ids);
c8eb2d7e8202fd Minghsiu Tsai 2016-09-08 52
:::::: The code at line 47 was first introduced by commit
:::::: c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a [media] media: Add Mediatek MDP Driver
:::::: TO: Minghsiu Tsai <minghsiu.tsai(a)mediatek.com>
:::::: CC: Mauro Carvalho Chehab <mchehab(a)s-opensource.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org