Hi Lakshmi, Thank you for the patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on arm64/for-next/core integrity/next-integrity linus/master v5.9-rc7 next-20200930] [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/Lakshmi-Ramasubramanian/powerpc-Refactor-kexec-functions-to-move-arch-independent-code-to-kernel/20201001-060013 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: x86_64-randconfig-s022-20200930 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-201-g24bdaac6-dirty # https://github.com/0day-ci/linux/commit/6a1d11b4c60a9d19172f2aee98568c0ce65da4ea git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Lakshmi-Ramasubramanian/powerpc-Refactor-kexec-functions-to-move-arch-independent-code-to-kernel/20201001-060013 git checkout 6a1d11b4c60a9d19172f2aee98568c0ce65da4ea # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): ld: kernel/kexec_file_fdt.o: in function `delete_fdt_mem_rsv': kernel/kexec_file_fdt.c:30: undefined reference to `fdt_num_mem_rsv' >> ld: kernel/kexec_file_fdt.c:35: undefined reference to `fdt_get_mem_rsv' >> ld: kernel/kexec_file_fdt.c:42: undefined reference to `fdt_del_mem_rsv' --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org