Hi Alan,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 8b47c9cdb6a78364fe68f8af0abfd6f265577001]

url:    
https://github.com/intel-lab-lkp/linux/commits/Alan-Previn/drm-xe-guc-Rename-__guc_capture_parsed_output/20250129-023915
base:   8b47c9cdb6a78364fe68f8af0abfd6f265577001
patch link:    
https://lore.kernel.org/r/20250128183653.4027915-6-alan.previn.teres.alexis%40intel.com
patch subject: [PATCH v6 5/6] drm/xe/xe_hw_engine: Update 
hw_engine_snapshot_capture for debugfs
config: csky-randconfig-002-20250129 
(https://download.01.org/0day-ci/archive/20250129/202501290445.tqxo9zc9-...@intel.com/config)
compiler: csky-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20250129/202501290445.tqxo9zc9-...@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/202501290445.tqxo9zc9-...@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/xe/xe_guc_capture.c:1597: warning: expecting prototype for 
>> xe_guc_capture_snapshot_store_and_get_manual_hwe(). Prototype was for 
>> xe_guc_capture_snapshot_manual_hwe() instead


vim +1597 drivers/gpu/drm/xe/xe_guc_capture.c

  1585  
  1586  /**
  1587   * xe_guc_capture_snapshot_store_and_get_manual_hwe - Generate and get 
manual engine register dump
  1588   * @guc: Target GuC for manual capture
  1589   * @hwe: The engine instance to capture from
  1590   *
  1591   * Generate a manual GuC-Error-Capture snapshot of engine instance + 
engine class registers
  1592   * without any queue association. This capture node is not stored in 
outlist or cachelist,
  1593   * Returns: New capture node and caller must "put"
  1594   */
  1595  struct xe_guc_capture_snapshot *
  1596  xe_guc_capture_snapshot_manual_hwe(struct xe_guc *guc, struct 
xe_hw_engine *hwe)
> 1597  {
  1598          struct xe_guc_capture_snapshot *new;
  1599  
  1600          new = guc_capture_get_manual_snapshot(guc, hwe);
  1601          if (!new)
  1602                  return NULL;
  1603  
  1604          new->guc_id = 0;
  1605          new->lrca = 0;
  1606          new->is_partial = 0;
  1607          new->source = XE_ENGINE_CAPTURE_SOURCE_MANUAL;
  1608  
  1609          return new;
  1610  }
  1611  

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

Reply via email to