Hi Ville,

kernel test robot noticed the following build errors:

[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on next-20261116]
[cannot apply to linus/master v7.4-rc3]
[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/Ville-Syrjala/drm-tilcdc-Allow-build-without-__iowmb/20261118-234458
base:   https://gitlab.freedesktop.org/drm/misc/kernel.git drm-misc-next
patch link:    
https://lore.kernel.org/r/20261118214518.29317-20-ville.syrjala%40linux.intel.com
patch subject: [PATCH v4 19/20] drm/nouveau: Allow platform driver build with 
COMPILE_TEST=y
config: i386-buildonly-randconfig-1002-20261120 
(https://download.01.org/0day-ci/archive/20261120/[email protected]/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20261120/[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/nouveau/nouveau_platform.c: In function 
'nouveau_platform_resume':
>> drivers/gpu/drm/nouveau/nouveau_platform.c:53:37: error: incompatible type 
>> for argument 1 of 'gk20a_devfreq_resume'
      53 |         return gk20a_devfreq_resume(dev);
         |                                     ^~~
         |                                     |
         |                                     struct device *
   In file included from drivers/gpu/drm/nouveau/nouveau_platform.c:24:
   drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a_devfreq.h:20:54: note: 
expected 'struct device' but argument is of type 'struct device *'
      20 | static inline int gk20a_devfreq_resume(struct device dev) { return 
0; }
         |                                        ~~~~~~~~~~~~~~^~~
>> drivers/gpu/drm/nouveau/nouveau_platform.c:54:1: warning: control reaches 
>> end of non-void function [-Wreturn-type]
      54 | }
         | ^


vim +/gk20a_devfreq_resume +53 drivers/gpu/drm/nouveau/nouveau_platform.c

6ca1701cecdb2de Aaron Kling 2025-09-06  50  
6ca1701cecdb2de Aaron Kling 2025-09-06  51  static int 
nouveau_platform_resume(struct device *dev)
6ca1701cecdb2de Aaron Kling 2025-09-06  52  {
6ca1701cecdb2de Aaron Kling 2025-09-06 @53      return 
gk20a_devfreq_resume(dev);
6ca1701cecdb2de Aaron Kling 2025-09-06 @54  }
6ca1701cecdb2de Aaron Kling 2025-09-06  55  

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

Reply via email to