Hi Suraj,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-xe/drm-xe-next]
[also build test WARNING on drm-tip/drm-tip]
[cannot apply to drm-intel/for-linux-next drm-intel/for-linux-next-fixes 
linus/master v6.8-rc3 next-20240209]
[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-Move-intel_hdcp_gsc_message-def-away-from-header-file/20240209-181915
base:   https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next
patch link:    
https://lore.kernel.org/r/20240209101412.1326176-5-suraj.kandpal%40intel.com
patch subject: [PATCH 4/5] drm/xe/hdcp: Enable HDCP for XE
config: loongarch-allmodconfig 
(https://download.01.org/0day-ci/archive/20240210/202402100132.xip3zz5i-...@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20240210/202402100132.xip3zz5i-...@intel.com/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 <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202402100132.xip3zz5i-...@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/xe/xe_gsc_submit.c:50: warning: expecting prototype for 
>> xe_gsc_get_host_session_id(). Prototype was for 
>> xe_gsc_create_host_session_id() instead


vim +50 drivers/gpu/drm/xe/xe_gsc_submit.c

    42  
    43  /**
    44   * xe_gsc_get_host_session_id - Creates a random 64 bit host_session id 
with
    45   * bits 56-63 masked.
    46   *
    47   * Returns: random host_session_id which can be used to send messages 
to gsc cs
    48   */
    49  u64 xe_gsc_create_host_session_id(void)
  > 50  {
    51          u64 host_session_id;
    52  
    53          get_random_bytes(&host_session_id, sizeof(u64));
    54          host_session_id &= ~HOST_SESSION_CLIENT_MASK;
    55          return host_session_id;
    56  }
    57  

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

Reply via email to