All of lore.kernel.org
 help / color / mirror / Atom feed
* [agd5f:drm-next 123/150] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp_psp.c:374:22: warning: no previous prototype for 'mod_hdcp_hdcp1_get_link_encryption_status'
@ 2021-03-29 23:17 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-29 23:17 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2993 bytes --]

tree:   https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head:   a0c8b193bfe81cc8e9c7c162bb8d777ba12596f0
commit: 89e7dc3121c3a51493b6acfc4a58a384225d5d12 [123/150] drm/amd/display: add mod hdcp interface for supporting encryption state query
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
        git fetch --no-tags agd5f drm-next
        git checkout 89e7dc3121c3a51493b6acfc4a58a384225d5d12
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc 

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

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp_psp.c:374:22: warning: no previous prototype for 'mod_hdcp_hdcp1_get_link_encryption_status' [-Wmissing-prototypes]
     374 | enum mod_hdcp_status mod_hdcp_hdcp1_get_link_encryption_status(struct mod_hdcp *hdcp,
         |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/mod_hdcp_hdcp1_get_link_encryption_status +374 drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp_psp.c

411491fb88955a Bhawanpreet Lakha 2019-08-06  373  
411491fb88955a Bhawanpreet Lakha 2019-08-06 @374  enum mod_hdcp_status mod_hdcp_hdcp1_get_link_encryption_status(struct mod_hdcp *hdcp,
411491fb88955a Bhawanpreet Lakha 2019-08-06  375  							       enum mod_hdcp_encryption_status *encryption_status)
411491fb88955a Bhawanpreet Lakha 2019-08-06  376  {
411491fb88955a Bhawanpreet Lakha 2019-08-06  377  	*encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP_OFF;
411491fb88955a Bhawanpreet Lakha 2019-08-06  378  
411491fb88955a Bhawanpreet Lakha 2019-08-06  379  	if (mod_hdcp_hdcp1_link_maintenance(hdcp) != MOD_HDCP_STATUS_SUCCESS)
411491fb88955a Bhawanpreet Lakha 2019-08-06  380  		return MOD_HDCP_STATUS_FAILURE;
411491fb88955a Bhawanpreet Lakha 2019-08-06  381  
411491fb88955a Bhawanpreet Lakha 2019-08-06  382  	*encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP1_ON;
411491fb88955a Bhawanpreet Lakha 2019-08-06  383  
411491fb88955a Bhawanpreet Lakha 2019-08-06  384  	return MOD_HDCP_STATUS_SUCCESS;
411491fb88955a Bhawanpreet Lakha 2019-08-06  385  }
411491fb88955a Bhawanpreet Lakha 2019-08-06  386  

:::::: The code at line 374 was first introduced by commit
:::::: 411491fb88955ada509f194faa7559249aa5aa7b drm/amd/display: add PSP block to verify hdcp steps

:::::: TO: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 67452 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-29 23:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-29 23:17 [agd5f:drm-next 123/150] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp_psp.c:374:22: warning: no previous prototype for 'mod_hdcp_hdcp1_get_link_encryption_status' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.