Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on soc/for-next] [also build test WARNING on linus/master v5.8-rc7 next-20200728] [cannot apply to xlnx/master remoteproc/for-next rpmsg/for-next] [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] url: https://github.com/0day-ci/linux/commits/peng-fan-nxp-com/remoteproc-elf-support-platform-specific-memory-hook/20200728-173920 base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next config: arm64-allyesconfig (attached as .config) compiler: aarch64-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/remoteproc/imx_rproc.c: In function 'imx_rproc_memcpy': >> drivers/remoteproc/imx_rproc.c:248:1: warning: no return statement in function returning non-void [-Wreturn-type] 248 | } | ^ drivers/remoteproc/imx_rproc.c: In function 'imx_rproc_memset': drivers/remoteproc/imx_rproc.c:253:1: warning: no return statement in function returning non-void [-Wreturn-type] 253 | } | ^ vim +248 drivers/remoteproc/imx_rproc.c 244 245 static void *imx_rproc_memcpy(struct rproc *rproc, void *dest, const void *src, size_t count) 246 { 247 memcpy_toio((void * __iomem)dest, src, count); > 248 } 249 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org