mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mikhail Khelik <mkhelik@cisco.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Hans Verkuil <hverkuil@xs4all.nl>
Subject: [hverkuil-media-tree:hdcp 3/4] drivers/media/i2c/adv7842.c:3449:38: warning: 'adv7842_ctrl_hdcp_auth' defined but not used
Date: Thu, 11 Aug 2022 04:21:56 +0800	[thread overview]
Message-ID: <202208110420.xBIcVvwn-lkp@intel.com> (raw)

tree:   git://linuxtv.org/hverkuil/media_tree.git hdcp
head:   da521c491aa5d01b7a920ef66c8d9aef36f14a02
commit: aea22ce596846ba20f94105739f3867b8459ae45 [3/4] Added HDCP support for ADV7842
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220811/202208110420.xBIcVvwn-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
        git remote add hverkuil-media-tree git://linuxtv.org/hverkuil/media_tree.git
        git fetch --no-tags hverkuil-media-tree hdcp
        git checkout aea22ce596846ba20f94105739f3867b8459ae45
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/media/i2c/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/media/i2c/adv7842.c:3449:38: warning: 'adv7842_ctrl_hdcp_auth' defined but not used [-Wunused-const-variable=]
    3449 | static const struct v4l2_ctrl_config adv7842_ctrl_hdcp_auth = {
         |                                      ^~~~~~~~~~~~~~~~~~~~~~


vim +/adv7842_ctrl_hdcp_auth +3449 drivers/media/i2c/adv7842.c

  3448	
> 3449	static const struct v4l2_ctrl_config adv7842_ctrl_hdcp_auth = {
  3450		.ops = NULL,
  3451		.id = V4L2_CID_DV_HDCP_RX_AUTH,
  3452		.name = "HDCP Authentication Status",
  3453		.type = V4L2_CTRL_TYPE_BITMASK,
  3454		.min = 0,
  3455		.max = 1,
  3456		.step = 0,
  3457		.def = 0,
  3458		.flags = V4L2_CTRL_FLAG_READ_ONLY
  3459	};
  3460	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

             reply	other threads:[~2022-08-10 20:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-10 20:21 kernel test robot [this message]
2022-08-10 20:21 kernel test robot

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=202208110420.xBIcVvwn-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=hverkuil@xs4all.nl \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mkhelik@cisco.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

all inboxes | Powered by JetHome®