Hi Cyrille, kernel test robot noticed the following build errors:
[auto build test ERROR on 38feb171b3f92d77e8061fafb5ddfffc2c13b672] url: https://github.com/intel-lab-lkp/linux/commits/Cyrille-Pitchen/dt-bindings-gpu-add-bindings-for-the-Microchip-GFX2D-GPU/20260112-192254 base: 38feb171b3f92d77e8061fafb5ddfffc2c13b672 patch link: https://lore.kernel.org/r/20260112-cpitchen-mainline_gfx2d-v4-2-f210041ad343%40microchip.com patch subject: [PATCH v4 2/5] drm/microchip: add a driver for the Microchip GFX2D GPU config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20260113/[email protected]/config) compiler: arm-linux-gnueabi-gcc (GCC) 15.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260113/[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 errors (new ones prefixed by >>): drivers/gpu/drm/microchip/mchp_gfx2d_cmd.c: In function 'mchp_gfx2d_enable_exend': >> drivers/gpu/drm/microchip/mchp_gfx2d_cmd.c:44:9: error: implicit declaration >> of function 'drm_dbg'; did you mean 'dev_dbg'? >> [-Wimplicit-function-declaration] 44 | drm_dbg(&priv->drm, "enable EXEND interrupt\n"); | ^~~~~~~ | dev_dbg -- >> drivers/gpu/drm/microchip/mchp_gfx2d_drv.c:61:10: error: 'const struct >> drm_driver' has no member named 'date' 61 | .date = "20240716", | ^~~~ >> drivers/gpu/drm/microchip/mchp_gfx2d_drv.c:61:17: error: initialization of >> 'unsigned int' from 'char *' makes integer from pointer without a cast >> [-Wint-conversion] 61 | .date = "20240716", | ^~~~~~~~~~ drivers/gpu/drm/microchip/mchp_gfx2d_drv.c:61:17: note: (near initialization for 'mchp_gfx2d_drm_driver.driver_features') drivers/gpu/drm/microchip/mchp_gfx2d_drv.c:62:28: warning: initialized field overwritten [-Woverride-init] 62 | .driver_features = DRIVER_GEM | DRIVER_RENDER, | ^~~~~~~~~~ drivers/gpu/drm/microchip/mchp_gfx2d_drv.c:62:28: note: (near initialization for 'mchp_gfx2d_drm_driver.driver_features') drivers/gpu/drm/microchip/mchp_gfx2d_drv.c: In function 'mchp_gfx2d_thread': >> drivers/gpu/drm/microchip/mchp_gfx2d_drv.c:98:9: error: implicit declaration >> of function 'drm_dbg'; did you mean 'dev_dbg'? >> [-Wimplicit-function-declaration] 98 | drm_dbg(&priv->drm, "enter IRQ thread\n"); | ^~~~~~~ | dev_dbg drivers/gpu/drm/microchip/mchp_gfx2d_drv.c: At top level: >> drivers/gpu/drm/microchip/mchp_gfx2d_drv.c:344:10: error: 'struct >> platform_driver' has no member named 'remove_new'; did you mean 'remove'? 344 | .remove_new = mchp_gfx2d_remove, | ^~~~~~~~~~ | remove -- drivers/gpu/drm/microchip/mchp_gfx2d_gem.c: In function 'mchp_gfx2d_gem_create': >> drivers/gpu/drm/microchip/mchp_gfx2d_gem.c:127:17: error: implicit >> declaration of function 'drm_dbg'; did you mean 'dev_dbg'? >> [-Wimplicit-function-declaration] 127 | drm_dbg(dev, "failed to allocate buffer with size %zu\n", size); | ^~~~~~~ | dev_dbg drivers/gpu/drm/microchip/mchp_gfx2d_gem.c: In function 'mchp_gfx2d_gem_prime_import_sg_table': >> drivers/gpu/drm/microchip/mchp_gfx2d_gem.c:201:9: error: implicit >> declaration of function 'drm_dbg_prime' [-Wimplicit-function-declaration] 201 | drm_dbg_prime(dev, "dma_addr = %pad, size = %zu\n", | ^~~~~~~~~~~~~ vim +44 drivers/gpu/drm/microchip/mchp_gfx2d_cmd.c 41 42 static void mchp_gfx2d_enable_exend(struct mchp_gfx2d_device *priv) 43 { > 44 drm_dbg(&priv->drm, "enable EXEND interrupt\n"); 45 writel(GFX2D_IRQ_EXEND, priv->regs + GFX2D_IE); 46 } 47 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
