[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202208110550.PpJJO7J3-lkp@intel.com>
Date: Thu, 11 Aug 2022 05:33:28 +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 4/4] drivers/media/i2c/adv7604.c:2884:38:
warning: 'adv7604_ctrl_hdcp_auth' defined but not used
tree: git://linuxtv.org/hverkuil/media_tree.git hdcp
head: da521c491aa5d01b7a920ef66c8d9aef36f14a02
commit: da521c491aa5d01b7a920ef66c8d9aef36f14a02 [4/4] Added HDCP support for ADV7604
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220811/202208110550.PpJJO7J3-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 da521c491aa5d01b7a920ef66c8d9aef36f14a02
# 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@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/media/i2c/adv7604.c:2884:38: warning: 'adv7604_ctrl_hdcp_auth' defined but not used [-Wunused-const-variable=]
2884 | static const struct v4l2_ctrl_config adv7604_ctrl_hdcp_auth = {
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/adv7604_ctrl_hdcp_auth +2884 drivers/media/i2c/adv7604.c
2883
> 2884 static const struct v4l2_ctrl_config adv7604_ctrl_hdcp_auth = {
2885 .ops = NULL,
2886 .id = V4L2_CID_DV_HDCP_RX_AUTH,
2887 .name = "HDCP Authentication Status",
2888 .type = V4L2_CTRL_TYPE_BITMASK,
2889 .min = 0,
2890 .max = 1,
2891 .step = 0,
2892 .def = 0,
2893 .flags = V4L2_CTRL_FLAG_READ_ONLY
2894 };
2895
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists