Hi Crystal, kernel test robot noticed the following build errors: [auto build test ERROR on krzk-mem-ctrl/for-next] [also build test ERROR on robh/for-next krzk-dt/for-next linus/master v6.13-rc3 next-20241220] [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/Crystal-Guo/memory-mediatek-Add-an-interface-to-get-current-DDR-data-rate/20241212-170306 base: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl.git for-next patch link: https://lore.kernel.org/r/20241212090029.13692-2-crystal.guo%40mediatek.com patch subject: [PATCH 1/2] memory/mediatek: Add an interface to get current DDR data rate config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20241221/202412210955.FvO0Pee3-lkp@xxxxxxxxx/config) compiler: m68k-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241221/202412210955.FvO0Pee3-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202412210955.FvO0Pee3-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> drivers/memory/mediatek/mtk-dramc.c:300:19: error: initialization of 'void (*)(struct platform_device *)' from incompatible pointer type 'int (*)(struct platform_device *)' [-Wincompatible-pointer-types] 300 | .remove = dramc_remove, | ^~~~~~~~~~~~ drivers/memory/mediatek/mtk-dramc.c:300:19: note: (near initialization for 'dramc_drv.<anonymous>.remove') vim +300 drivers/memory/mediatek/mtk-dramc.c 297 298 static struct platform_driver dramc_drv = { 299 .probe = dramc_probe, > 300 .remove = dramc_remove, 301 .driver = { 302 .name = "dramc_drv", 303 .owner = THIS_MODULE, 304 .of_match_table = dramc_of_ids, 305 }, 306 }; 307 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki