mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [hverkuil-media-tree:hdcp 3/4] drivers/media/i2c/adv7842.c:3449:38: warning: 'adv7842_ctrl_hdcp_auth' defined but not used
@ 2022-08-10 20:21 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-08-10 20:21 UTC (permalink / raw)
  To: Mikhail Khelik; +Cc: kbuild-all, linux-kernel, Hans Verkuil

tree:   git://linuxtv.org/hverkuil/media_tree.git hdcp
head:   da521c491aa5d01b7a920ef66c8d9aef36f14a02
commit: aea22ce596846ba20f94105739f3867b8459ae45 [3/4] Added HDCP support for ADV7842
config: i386-randconfig-a001 (https://download.01.org/0day-ci/archive/20220811/202208110437.wfh39aEX-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=i386 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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [hverkuil-media-tree:hdcp 3/4] drivers/media/i2c/adv7842.c:3449:38: warning: 'adv7842_ctrl_hdcp_auth' defined but not used
@ 2022-08-10 20:21 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-08-10 20:21 UTC (permalink / raw)
  To: Mikhail Khelik; +Cc: kbuild-all, linux-kernel, Hans Verkuil

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-10 20:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-10 20:21 [hverkuil-media-tree:hdcp 3/4] drivers/media/i2c/adv7842.c:3449:38: warning: 'adv7842_ctrl_hdcp_auth' defined but not used kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2022-08-10 20:21 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

all inboxes | Powered by JetHome®