tree: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next head: de8405f65d4dfac207e453f09f2cf6f2959e471f commit: de8405f65d4dfac207e453f09f2cf6f2959e471f [24/24] efi: bgrt: Enable ACPI BGRT handling on arm64 config: x86_64-randconfig-x017-201707 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout de8405f65d4dfac207e453f09f2cf6f2959e471f # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): In file included from arch/x86/kernel/acpi/boot.c:38:0: include/linux/efi-bgrt.h: In function 'acpi_parse_bgrt': >> include/linux/efi-bgrt.h:18:49: warning: no return statement in function returning non-void [-Wreturn-type] static inline int __init acpi_parse_bgrt(struct acpi_table_header *table) {} ^~~~~~~~~~~~~~~~~ vim +18 include/linux/efi-bgrt.h 2 #define _LINUX_EFI_BGRT_H 3 4 #include <linux/acpi.h> 5 6 #ifdef CONFIG_ACPI_BGRT 7 8 void efi_bgrt_init(struct acpi_table_header *table); 9 int __init acpi_parse_bgrt(struct acpi_table_header *table); 10 11 /* The BGRT data itself; only valid if bgrt_image != NULL. */ 12 extern size_t bgrt_image_size; 13 extern struct acpi_table_bgrt bgrt_tab; 14 15 #else /* !CONFIG_ACPI_BGRT */ 16 17 static inline void efi_bgrt_init(struct acpi_table_header *table) {} > 18 static inline int __init acpi_parse_bgrt(struct acpi_table_header *table) {} 19 20 #endif /* !CONFIG_ACPI_BGRT */ 21 22 #endif /* _LINUX_EFI_BGRT_H */ --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip