public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [sailus-media-tree:ipu6 14/50] drivers/media/platform/broadcom/bcm2835-unicam.c:2721:34: warning: 'unicam_of_match' defined but not used
@ 2024-04-30 15:36 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-30 15:36 UTC (permalink / raw)
  To: Dave Stevenson
  Cc: oe-kbuild-all, linux-media, Sakari Ailus, Naushir Patuck,
	Jean-Michel Hautbois, Laurent Pinchart

tree:   git://linuxtv.org/sailus/media_tree.git ipu6
head:   308898eb3af1c6530b122a01a5c4b38931717e70
commit: e8676f3614bd98086cd71e2d7379291f5329115f [14/50] media: bcm2835-unicam: Add support for CCP2/CSI2 camera interface
config: sh-randconfig-r111-20240430 (https://download.01.org/0day-ci/archive/20240430/202404302324.8aTC84kE-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240430/202404302324.8aTC84kE-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404302324.8aTC84kE-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/media/platform/broadcom/bcm2835-unicam.c:309:17: error: 'MEDIA_BUS_FMT_META_8' undeclared here (not in a function); did you mean 'MEDIA_BUS_FMT_Y8_1X8'?
     309 |         .code = MEDIA_BUS_FMT_META_8,
         |                 ^~~~~~~~~~~~~~~~~~~~
         |                 MEDIA_BUS_FMT_Y8_1X8
   drivers/media/platform/broadcom/bcm2835-unicam.c:490:35: error: 'V4L2_META_FMT_GENERIC_8' undeclared here (not in a function); did you mean 'V4L2_META_FMT_UVC'?
     490 |                 .fourcc         = V4L2_META_FMT_GENERIC_8,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~
         |                                   V4L2_META_FMT_UVC
   drivers/media/platform/broadcom/bcm2835-unicam.c:494:35: error: 'V4L2_META_FMT_GENERIC_CSI2_10' undeclared here (not in a function)
     494 |                 .fourcc         = V4L2_META_FMT_GENERIC_CSI2_10,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/broadcom/bcm2835-unicam.c:495:35: error: 'MEDIA_BUS_FMT_META_10' undeclared here (not in a function); did you mean 'MEDIA_BUS_FMT_UV8_1X8'?
     495 |                 .code           = MEDIA_BUS_FMT_META_10,
         |                                   ^~~~~~~~~~~~~~~~~~~~~
         |                                   MEDIA_BUS_FMT_UV8_1X8
   drivers/media/platform/broadcom/bcm2835-unicam.c:498:35: error: 'V4L2_META_FMT_GENERIC_CSI2_12' undeclared here (not in a function)
     498 |                 .fourcc         = V4L2_META_FMT_GENERIC_CSI2_12,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/broadcom/bcm2835-unicam.c:499:35: error: 'MEDIA_BUS_FMT_META_12' undeclared here (not in a function); did you mean 'MEDIA_BUS_FMT_UV8_1X8'?
     499 |                 .code           = MEDIA_BUS_FMT_META_12,
         |                                   ^~~~~~~~~~~~~~~~~~~~~
         |                                   MEDIA_BUS_FMT_UV8_1X8
   drivers/media/platform/broadcom/bcm2835-unicam.c:502:35: error: 'V4L2_META_FMT_GENERIC_CSI2_14' undeclared here (not in a function)
     502 |                 .fourcc         = V4L2_META_FMT_GENERIC_CSI2_14,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/broadcom/bcm2835-unicam.c:503:35: error: 'MEDIA_BUS_FMT_META_14' undeclared here (not in a function); did you mean 'MEDIA_BUS_FMT_UV8_1X8'?
     503 |                 .code           = MEDIA_BUS_FMT_META_14,
         |                                   ^~~~~~~~~~~~~~~~~~~~~
         |                                   MEDIA_BUS_FMT_UV8_1X8
>> drivers/media/platform/broadcom/bcm2835-unicam.c:2721:34: warning: 'unicam_of_match' defined but not used [-Wunused-const-variable=]
    2721 | static const struct of_device_id unicam_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~


vim +/unicam_of_match +2721 drivers/media/platform/broadcom/bcm2835-unicam.c

  2720	
> 2721	static const struct of_device_id unicam_of_match[] = {
  2722		{ .compatible = "brcm,bcm2835-unicam", },
  2723		{ /* sentinel */ },
  2724	};
  2725	MODULE_DEVICE_TABLE(of, unicam_of_match);
  2726	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2024-04-30 15:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-30 15:36 [sailus-media-tree:ipu6 14/50] drivers/media/platform/broadcom/bcm2835-unicam.c:2721:34: warning: 'unicam_of_match' defined but not used 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