[Intel-gfx] [PATCH 07/14] drm/i915/hdcp: Use HDCP helpers for i915

kernel test robot lkp at intel.com
Tue Sep 14 02:42:48 UTC 2021


Hi Sean,

I love your patch! Yet something to improve:

[auto build test ERROR on drm-tip/drm-tip]
[cannot apply to drm-intel/for-linux-next drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next linus/master drm/drm-next v5.15-rc1 next-20210913]
[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]

url:    https://github.com/0day-ci/linux/commits/Sean-Paul/drm-hdcp-Pull-HDCP-auth-exchange-check-into/20210914-020004
base:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/995396b306d5f83dea2943ecc2718f344a80d46e
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Sean-Paul/drm-hdcp-Pull-HDCP-auth-exchange-check-into/20210914-020004
        git checkout 995396b306d5f83dea2943ecc2718f344a80d46e
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/display/intel_dp_hdcp.c:658:43: error: 'intel_dp_mst_hdcp_helper_funcs' defined but not used [-Werror=unused-const-variable=]
     658 | static const struct drm_hdcp_helper_funcs intel_dp_mst_hdcp_helper_funcs = {
         |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/intel_dp_mst_hdcp_helper_funcs +658 drivers/gpu/drm/i915/display/intel_dp_hdcp.c

   657	
 > 658	static const struct drm_hdcp_helper_funcs intel_dp_mst_hdcp_helper_funcs = {
   659		.setup = intel_hdcp_setup,
   660		.load_keys = intel_hdcp_load_keys,
   661		.hdcp2_capable = intel_dp_hdcp2_capable,
   662		.hdcp2_enable = intel_hdcp2_enable,
   663		.hdcp2_check_link = intel_hdcp2_check_link,
   664		.hdcp2_disable = intel_hdcp2_disable,
   665		.hdcp1_send_an_aksv = intel_dp_hdcp1_send_an_aksv,
   666		.hdcp1_store_receiver_info = intel_hdcp1_store_receiver_info,
   667		.hdcp1_enable_encryption = intel_hdcp1_enable_encryption,
   668		.hdcp1_wait_for_r0 = intel_hdcp1_wait_for_r0,
   669		.hdcp1_match_ri = intel_hdcp1_match_ri,
   670		.hdcp1_post_encryption = intel_dp_mst_hdcp1_post_encryption,
   671		.hdcp1_store_ksv_fifo = intel_hdcp1_store_ksv_fifo,
   672		.hdcp1_disable = intel_dp_mst_hdcp1_disable,
   673	};
   674	
   675	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 66049 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20210914/2299a390/attachment-0001.gz>


More information about the Intel-gfx mailing list