Hi Alex,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-exynos/exynos-drm-next]
[also build test WARNING on next-20250507]
[cannot apply to linus/master drm/drm-next drm-intel/for-linux-next 
drm-intel/for-linux-next-fixes drm-misc/drm-misc-next drm-tip/drm-tip v6.15-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/Alex-Hung/drm-Add-helper-for-conversion-from-signed-magnitude/20250430-092409
base:   https://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git 
exynos-drm-next
patch link:    
https://lore.kernel.org/r/20250430011115.223996-36-alex.hung%40amd.com
patch subject: [PATCH V9 35/43] drm/amd/display: add 3x4 matrix colorop
config: parisc-randconfig-r122-20250501 
(https://download.01.org/0day-ci/archive/20250507/202505071913.rar4ocja-...@intel.com/config)
compiler: hppa-linux-gcc (GCC) 8.5.0
reproduce: 
(https://download.01.org/0day-ci/archive/20250507/202505071913.rar4ocja-...@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/202505071913.rar4ocja-...@intel.com/

All warnings (new ones prefixed by >>):

   In file included from include/linux/device.h:15,
                    from include/drm/drm_print.h:31,
                    from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu_ring.h:29,
                    from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu_ctx.h:29,
                    from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:43,
                    from 
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_color.c:25:
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_color.c: In 
function '__set_dm_plane_colorop_3x4_matrix':
>> drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:41:22: warning: format '%lu' 
>> expects argument of type 'long unsigned int', but argument 3 has type 
>> 'size_t' {aka 'const unsigned int'} [-Wformat=]
    #define dev_fmt(fmt) "amdgpu: " fmt
                         ^~~~~~~~~~
   include/linux/dev_printk.h:110:16: note: in definition of macro 
'dev_printk_index_wrap'
      _p_func(dev, fmt, ##__VA_ARGS__);   \
                   ^~~
   include/linux/dev_printk.h:156:54: note: in expansion of macro 'dev_fmt'
     dev_printk_index_wrap(_dev_warn, KERN_WARNING, dev, dev_fmt(fmt), 
##__VA_ARGS__)
                                                         ^~~~~~~
   include/drm/drm_print.h:595:2: note: in expansion of macro 'dev_warn'
     dev_##level##type(__drm_to_dev(drm), "[drm] " fmt, ##__VA_ARGS__)
     ^~~~
   include/drm/drm_print.h:605:2: note: in expansion of macro '__drm_printk'
     __drm_printk((drm), warn,, fmt, ##__VA_ARGS__)
     ^~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_color.c:1246:4: 
note: in expansion of macro 'drm_warn'
       drm_warn(dev, "blob->length (%lu) isn't equal to drm_color_ctm_3x4 
(%zu)\n",
       ^~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_color.c:1246:35: 
note: format string is defined here
       drm_warn(dev, "blob->length (%lu) isn't equal to drm_color_ctm_3x4 
(%zu)\n",
                                    ~~^
                                    %u


vim +41 drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h

539489fc91ea77 Aurabindo Pillai 2020-04-08  40  
539489fc91ea77 Aurabindo Pillai 2020-04-08 @41  #define dev_fmt(fmt) "amdgpu: " 
fmt
539489fc91ea77 Aurabindo Pillai 2020-04-08  42  

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

Reply via email to