Hi Liguang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on rafael-pm/linux-next] [also build test WARNING on linux/master linus/master v5.15-rc5 next-20211011] [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/Liguang-Zhang/ACPI-APEI-restore-interrupt-before-panic-in-sdei-flow/20211011-231126 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next config: x86_64-randconfig-a012-20211011 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/abb332bc84212b2ef288bb3e7ad24a04cd4853e6 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Liguang-Zhang/ACPI-APEI-restore-interrupt-before-panic-in-sdei-flow/20211011-231126 git checkout abb332bc84212b2ef288bb3e7ad24a04cd4853e6 # save the attached .config to linux build tree make W=1 ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): In file included from drivers/acpi/apei/ghes.c:20: >> include/linux/arm_sdei.h:53:5: warning: no previous prototype for 'sdei_api_event_complete_and_resume' [-Wmissing-prototypes] 53 | int sdei_api_event_complete_and_resume(u64 addr) { return 0; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/sdei_api_event_complete_and_resume +53 include/linux/arm_sdei.h 44 45 #ifdef CONFIG_ARM_SDE_INTERFACE 46 /* For use by arch code when CPU hotplug notifiers are not appropriate. */ 47 int sdei_mask_local_cpu(void); 48 int sdei_unmask_local_cpu(void); 49 int sdei_api_event_complete_and_resume(u64 addr); 50 #else 51 static inline int sdei_mask_local_cpu(void) { return 0; } 52 static inline int sdei_unmask_local_cpu(void) { return 0; } > 53 int sdei_api_event_complete_and_resume(u64 addr) { return 0; } 54 #endif /* CONFIG_ARM_SDE_INTERFACE */ 55 56 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip