Linux-Media Archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	Naushir Patuck <naush@raspberrypi.com>,
	Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Subject: [sailus-media-tree:ipu6 14/50] drivers/media/platform/broadcom/bcm2835-unicam.c:2721:34: warning: 'unicam_of_match' defined but not used
Date: Tue, 30 Apr 2024 23:36:06 +0800	[thread overview]
Message-ID: <202404302324.8aTC84kE-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-04-30 15:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202404302324.8aTC84kE-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=jeanmichel.hautbois@ideasonboard.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=naush@raspberrypi.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=sakari.ailus@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).