[PATCH 3/9] firmware/tegra: avoid accessing iosys_map internals.

kernel test robot lkp at intel.com
Fri May 23 00:32:11 UTC 2025


Hi Dave,

kernel test robot noticed the following build errors:

[auto build test ERROR on drm/drm-next]
[also build test ERROR on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip v6.15-rc7 next-20250522]
[cannot apply to drm-xe/drm-xe-next drm-exynos/exynos-drm-next linus/master]
[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/Dave-Airlie/udmabuf-use-new-iosys_map-accessors/20250522-155237
base:   git://anongit.freedesktop.org/drm/drm drm-next
patch link:    https://lore.kernel.org/r/20250522065519.318013-4-airlied%40gmail.com
patch subject: [PATCH 3/9] firmware/tegra: avoid accessing iosys_map internals.
config: arm-randconfig-002-20250523 (https://download.01.org/0day-ci/archive/20250523/202505230806.C7HIxQ4g-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250523/202505230806.C7HIxQ4g-lkp@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 <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505230806.C7HIxQ4g-lkp@intel.com/

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

   drivers/firmware/tegra/ivc.c: In function 'iosys_map_get_address':
>> drivers/firmware/tegra/ivc.c:632:29: error: expected ')' before 'return'
     if (iosys_map_is_iomem(map)
        ~                       ^
                                )
      return (unsigned long)iosys_map_ioptr(map);
      ~~~~~~                     
>> drivers/firmware/tegra/ivc.c:636:1: error: expected expression before '}' token
    }
    ^
>> drivers/firmware/tegra/ivc.c:636:1: warning: no return statement in function returning non-void [-Wreturn-type]


vim +632 drivers/firmware/tegra/ivc.c

   629	
   630	static inline unsigned long iosys_map_get_address(const struct iosys_map *map)
   631	{
 > 632		if (iosys_map_is_iomem(map)
   633			return (unsigned long)iosys_map_ioptr(map);
   634	
   635		return (unsigned long)iosys_map_ptr(map);
 > 636	}
   637	

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


More information about the dri-devel mailing list