Hi Jani,

kernel test robot noticed the following build errors:

[auto build test ERROR on drm-i915/for-linux-next]
[also build test ERROR on drm-tip/drm-tip next-20260116]
[cannot apply to drm-i915/for-linux-next-fixes drm-xe/drm-xe-next linus/master 
v6.19-rc5]
[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/Jani-Nikula/drm-i915-dsb-move-i915-specific-DSB-buffer-implementation-to-i915/20260116-225559
base:   https://gitlab.freedesktop.org/drm/i915/kernel.git for-linux-next
patch link:    
https://lore.kernel.org/r/523081095c7da23ce03835687fe6c5cb4ed3c77f.1768575249.git.jani.nikula%40intel.com
patch subject: [PATCH 2/2] drm/{i915,xe}/dsb: move DSB buffer to parent 
interface
config: loongarch-randconfig-001-20260117 
(https://download.01.org/0day-ci/archive/20260117/[email protected]/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 
87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260117/[email protected]/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 <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All error/warnings (new ones prefixed by >>):

>> drivers/gpu/drm/i915/display/intel_dsb.c:107:55: error: too many arguments 
>> provided to function-like macro invocation
     107 |         display->parent->dsb->memset(dsb->dsb_buf, idx, val, size);
         |                                                              ^
   include/linux/fortify-string.h:512:9: note: macro 'memset' defined here
     512 | #define memset(p, c, s) __fortify_memset_chk(p, c, s,                
   \
         |         ^
>> drivers/gpu/drm/i915/display/intel_dsb.c:107:24: warning: expression result 
>> unused [-Wunused-value]
     107 |         display->parent->dsb->memset(dsb->dsb_buf, idx, val, size);
         |         ~~~~~~~~~~~~~~~~~~~~  ^~~~~~
   1 warning and 1 error generated.


vim +107 drivers/gpu/drm/i915/display/intel_dsb.c

   102  
   103  static void dsb_buffer_memset(struct intel_dsb *dsb, u32 idx, u32 val, 
size_t size)
   104  {
   105          struct intel_display *display = to_intel_display(dsb->crtc);
   106  
 > 107          display->parent->dsb->memset(dsb->dsb_buf, idx, val, size);
   108  }
   109  

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

Reply via email to