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: i386-randconfig-015-20260117 
(https://download.01.org/0day-ci/archive/20260117/[email protected]/config)
compiler: gcc-12 (Debian 12.4.0-5) 12.4.0
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: In function 'dsb_buffer_memset':
>> drivers/gpu/drm/i915/display/intel_dsb.c:107:66: error: macro "memset" 
>> passed 4 arguments, but takes just 3
     107 |         display->parent->dsb->memset(dsb->dsb_buf, idx, val, size);
         |                                                                  ^
   In file included from include/linux/string.h:386,
                    from arch/x86/include/asm/page_32.h:18,
                    from arch/x86/include/asm/page.h:14,
                    from arch/x86/include/asm/processor.h:20,
                    from arch/x86/include/asm/timex.h:5,
                    from include/linux/timex.h:67,
                    from include/linux/time32.h:13,
                    from include/linux/time.h:60,
                    from include/linux/jiffies.h:10,
                    from include/linux/ktime.h:25,
                    from include/linux/iopoll.h:11,
                    from drivers/gpu/drm/i915/display/intel_dsb.c:7:
   include/linux/fortify-string.h:512: 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:29: warning: statement with no 
>> effect [-Wunused-value]
     107 |         display->parent->dsb->memset(dsb->dsb_buf, idx, val, size);
         |         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~


vim +/memset +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