lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202208110420.xBIcVvwn-lkp@intel.com>
Date:   Thu, 11 Aug 2022 04:21:56 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mikhail Khelik <mkhelik@...co.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Hans Verkuil <hverkuil@...all.nl>
Subject: [hverkuil-media-tree:hdcp 3/4] drivers/media/i2c/adv7842.c:3449:38:
 warning: 'adv7842_ctrl_hdcp_auth' defined but not used

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ