[asahilinux:bits/240-isp 1/67] drivers/media/platform/apple/isp/isp-drv.h:253:29: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'dma_addr_t' {aka 'unsigned int'}

kernel test robot <[email protected]> Thu, 06 Aug 2026 22:21:03 +0800
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
Hi Eileen,

FYI, the error/warning still remains.

tree:   https://github.com/AsahiLinux/linux bits/240-isp
head:   6b01d08e5d4d33d4a7cdfb1ecea6f78e295bfd75
commit: 329bf83de183f0558c2e5bb6ba55da3f06a2c980 [1/67] media: apple: Add Apple ISP driver
config: csky-allmodconfig (https://download.01.org/0day-ci/archive/20260806/[email protected]/config)
compiler: csky-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260806/[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 warnings (new ones prefixed by >>):

   In file included from include/linux/device.h:15,
                    from include/linux/pci.h:37,
                    from include/media/media-device.h:17,
                    from include/media/v4l2-device.h:12,
                    from drivers/media/platform/apple/isp/isp-drv.h:13,
                    from drivers/media/platform/apple/isp/isp-iommu.h:7,
                    from drivers/media/platform/apple/isp/isp-ipc.c:4:
   drivers/media/platform/apple/isp/isp-ipc.c: In function 'sm_malloc_deferred_worker':
>> drivers/media/platform/apple/isp/isp-drv.h:253:29: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'dma_addr_t' {aka 'unsigned int'} [-Wformat=]
     253 |         dev_err((isp)->dev, "[%s] " fmt, __func__, ##__VA_ARGS__)
         |                             ^~~~~~~
   include/linux/dev_printk.h:110:30: note: in definition of macro 'dev_printk_index_wrap'
     110 |                 _p_func(dev, fmt, ##__VA_ARGS__);                       \
         |                              ^~~
   include/linux/dev_printk.h:154:56: note: in expansion of macro 'dev_fmt'
     154 |         dev_printk_index_wrap(_dev_err, KERN_ERR, dev, dev_fmt(fmt), ##__VA_ARGS__)
         |                                                        ^~~~~~~
   drivers/media/platform/apple/isp/isp-drv.h:253:9: note: in expansion of macro 'dev_err'
     253 |         dev_err((isp)->dev, "[%s] " fmt, __func__, ##__VA_ARGS__)
         |         ^~~~~~~
   drivers/media/platform/apple/isp/isp-ipc.c:227:17: note: in expansion of macro 'isp_err'
     227 |                 isp_err(isp, "failed to vmap iova=0x%llx size=0x%llx\n",
         |                 ^~~~~~~


vim +253 drivers/media/platform/apple/isp/isp-drv.h

   251	
   252	#define isp_err(isp, fmt, ...) \
 > 253		dev_err((isp)->dev, "[%s] " fmt, __func__, ##__VA_ARGS__)
   254	

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