linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/media/platform/pxa_camera.c:2573:34: warning: unused variable 'pxa_camera_of_match'
@ 2020-06-17  8:45 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-06-17  8:45 UTC (permalink / raw)
  To: Mauro Carvalho Chehab
  Cc: kbuild-all, clang-built-linux, linux-kernel, linux-media

[-- Attachment #1: Type: text/plain, Size: 3056 bytes --]

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@intel.com>

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@free.fr>
:::::: CC: Mauro Carvalho Chehab <m.chehab@samsung.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37237 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-17  9:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17  8:45 drivers/media/platform/pxa_camera.c:2573:34: warning: unused variable 'pxa_camera_of_match' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).