drivers/media/platform/pxa_camera.c:2573:34: warning: unused variable 'pxa_camera_of_match'
From: kernel test robot
Date: Wed Jun 17 2020 - 05:08:44 EST
Hi Mauro,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 69119673bd50b176ded34032fadd41530fb5af21
commit: a19f228b8dd9a67e8de4ebd4eac8a4c94ec39d1a media: Kconfig: not all V4L2 platform drivers are for camera
date: 9 weeks ago
config: x86_64-randconfig-r001-20200617 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 487ca07fcc75d52755c9fe2ee05bcb3b6eeeec44)
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 a19f228b8dd9a67e8de4ebd4eac8a4c94ec39d1a
# 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@xxxxxxxxx>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/media/platform/pxa_camera.c:2573:34: warning: unused variable 'pxa_camera_of_match' [-Wunused-const-variable]
static const struct of_device_id pxa_camera_of_match[] = {
^
1 warning generated.
--
>> drivers/media/platform/renesas-ceu.c:1616:30: warning: unused variable 'ceu_data_rz' [-Wunused-const-variable]
static const struct ceu_data ceu_data_rz = {
^
1 warning generated.
--
>> drivers/media/platform/am437x/am437x-vpfe.c:2623:34: warning: unused variable 'vpfe_of_match' [-Wunused-const-variable]
static const struct of_device_id vpfe_of_match[] = {
^
1 warning generated.
vim +/pxa_camera_of_match +2573 drivers/media/platform/pxa_camera.c
7254026cedd42d drivers/media/video/pxa_camera.c Guennadi Liakhovetski 2011-06-29 2572
e9a1d94fa85542 drivers/media/platform/soc_camera/pxa_camera.c Robert Jarzmik 2014-06-29 @2573 static const struct of_device_id pxa_camera_of_match[] = {
e9a1d94fa85542 drivers/media/platform/soc_camera/pxa_camera.c Robert Jarzmik 2014-06-29 2574 { .compatible = "marvell,pxa270-qci", },
e9a1d94fa85542 drivers/media/platform/soc_camera/pxa_camera.c Robert Jarzmik 2014-06-29 2575 {},
e9a1d94fa85542 drivers/media/platform/soc_camera/pxa_camera.c Robert Jarzmik 2014-06-29 2576 };
e9a1d94fa85542 drivers/media/platform/soc_camera/pxa_camera.c Robert Jarzmik 2014-06-29 2577 MODULE_DEVICE_TABLE(of, pxa_camera_of_match);
e9a1d94fa85542 drivers/media/platform/soc_camera/pxa_camera.c Robert Jarzmik 2014-06-29 2578
:::::: The code at line 2573 was first introduced by commit
:::::: e9a1d94fa85542d4f3046ac82d234a3c8349c948 [media] media: pxa_camera device-tree support
:::::: TO: Robert Jarzmik <robert.jarzmik@xxxxxxx>
:::::: CC: Mauro Carvalho Chehab <m.chehab@xxxxxxxxxxx>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip