Re: [PATCH] drm/i915/hdcp: Change log level for HDMI HDCP LIC check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Suraj,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on linus/master v6.12 next-20241128]
[cannot apply to drm-intel/for-linux-next-fixes drm-tip/drm-tip]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Suraj-Kandpal/drm-i915-hdcp-Change-log-level-for-HDMI-HDCP-LIC-check/20241129-170750
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
patch link:    https://lore.kernel.org/r/20241129090530.1814774-1-suraj.kandpal%40intel.com
patch subject: [PATCH] drm/i915/hdcp: Change log level for HDMI HDCP LIC check
config: i386-buildonly-randconfig-005-20241129 (https://download.01.org/0day-ci/archive/20241129/202411292051.mFVQ48G0-lkp@xxxxxxxxx/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241129/202411292051.mFVQ48G0-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411292051.mFVQ48G0-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

   In file included from drivers/gpu/drm/i915/display/intel_hdmi.c:31:
   In file included from include/linux/i2c.h:19:
   In file included from include/linux/regulator/consumer.h:35:
   In file included from include/linux/suspend.h:5:
   In file included from include/linux/swap.h:9:
   In file included from include/linux/memcontrol.h:21:
   In file included from include/linux/mm.h:2213:
   include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
     518 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
>> drivers/gpu/drm/i915/display/intel_hdmi.c:1603:24: warning: unused variable 'display' [-Wunused-variable]
    1603 |         struct intel_display *display = to_intel_display(dig_port);
         |                               ^~~~~~~
   2 warnings generated.


vim +/display +1603 drivers/gpu/drm/i915/display/intel_hdmi.c

2320175feb74a11 drivers/gpu/drm/i915/intel_hdmi.c         Sean Paul    2018-01-08  1598  
b08239b2f471909 drivers/gpu/drm/i915/display/intel_hdmi.c Oliver Barta 2020-05-04  1599  static
038bac8970ac1c9 drivers/gpu/drm/i915/display/intel_hdmi.c Sean Paul    2020-08-18  1600  bool intel_hdmi_hdcp_check_link(struct intel_digital_port *dig_port,
038bac8970ac1c9 drivers/gpu/drm/i915/display/intel_hdmi.c Sean Paul    2020-08-18  1601  				struct intel_connector *connector)
b08239b2f471909 drivers/gpu/drm/i915/display/intel_hdmi.c Oliver Barta 2020-05-04  1602  {
1138137c2c48f03 drivers/gpu/drm/i915/display/intel_hdmi.c Jani Nikula  2024-08-30 @1603  	struct intel_display *display = to_intel_display(dig_port);
b08239b2f471909 drivers/gpu/drm/i915/display/intel_hdmi.c Oliver Barta 2020-05-04  1604  	int retry;
b08239b2f471909 drivers/gpu/drm/i915/display/intel_hdmi.c Oliver Barta 2020-05-04  1605  
b08239b2f471909 drivers/gpu/drm/i915/display/intel_hdmi.c Oliver Barta 2020-05-04  1606  	for (retry = 0; retry < 3; retry++)
038bac8970ac1c9 drivers/gpu/drm/i915/display/intel_hdmi.c Sean Paul    2020-08-18  1607  		if (intel_hdmi_hdcp_check_link_once(dig_port, connector))
b08239b2f471909 drivers/gpu/drm/i915/display/intel_hdmi.c Oliver Barta 2020-05-04  1608  			return true;
b08239b2f471909 drivers/gpu/drm/i915/display/intel_hdmi.c Oliver Barta 2020-05-04  1609  
b08239b2f471909 drivers/gpu/drm/i915/display/intel_hdmi.c Oliver Barta 2020-05-04  1610  	return false;
b08239b2f471909 drivers/gpu/drm/i915/display/intel_hdmi.c Oliver Barta 2020-05-04  1611  }
b08239b2f471909 drivers/gpu/drm/i915/display/intel_hdmi.c Oliver Barta 2020-05-04  1612  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux