tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 136057256686de39cc3a07c2e39ef6bc43003ff6 commit: d391c58271072d0b0fad93c82018d495b2633448 drivers/firmware: move x86 Generic System Framebuffers support date: 4 months ago config: i386-randconfig-r036-20210927 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d391c58271072d0b0fad93c82018d495b2633448 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout d391c58271072d0b0fad93c82018d495b2633448 # save the attached .config to linux build tree make W=1 ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/firmware/efi/sysfb_efi.c:70:6: warning: no previous prototype for 'efifb_setup_from_dmi' [-Wmissing-prototypes] 70 | void efifb_setup_from_dmi(struct screen_info *si, const char *opt) | ^~~~~~~~~~~~~~~~~~~~ drivers/firmware/efi/sysfb_efi.c:270:13: error: redefinition of 'sysfb_apply_efi_quirks' 270 | __init void sysfb_apply_efi_quirks(void) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/firmware/efi/sysfb_efi.c:24: include/linux/sysfb.h:65:20: note: previous definition of 'sysfb_apply_efi_quirks' was here 65 | static inline void sysfb_apply_efi_quirks(void) | ^~~~~~~~~~~~~~~~~~~~~~ vim +/efifb_setup_from_dmi +70 drivers/firmware/efi/sysfb_efi.c 2995e506276bfd arch/x86/kernel/sysfb_efi.c David Herrmann 2013-08-02 69 21289ec02b41c4 arch/x86/kernel/sysfb_efi.c Ard Biesheuvel 2016-04-25 @70 void efifb_setup_from_dmi(struct screen_info *si, const char *opt) 21289ec02b41c4 arch/x86/kernel/sysfb_efi.c Ard Biesheuvel 2016-04-25 71 { 21289ec02b41c4 arch/x86/kernel/sysfb_efi.c Ard Biesheuvel 2016-04-25 72 int i; 21289ec02b41c4 arch/x86/kernel/sysfb_efi.c Ard Biesheuvel 2016-04-25 73 21289ec02b41c4 arch/x86/kernel/sysfb_efi.c Ard Biesheuvel 2016-04-25 74 for (i = 0; i < M_UNKNOWN; i++) { 21289ec02b41c4 arch/x86/kernel/sysfb_efi.c Ard Biesheuvel 2016-04-25 75 if (efifb_dmi_list[i].base != 0 && 21289ec02b41c4 arch/x86/kernel/sysfb_efi.c Ard Biesheuvel 2016-04-25 76 !strcmp(opt, efifb_dmi_list[i].optname)) { 21289ec02b41c4 arch/x86/kernel/sysfb_efi.c Ard Biesheuvel 2016-04-25 77 si->lfb_base = efifb_dmi_list[i].base; 21289ec02b41c4 arch/x86/kernel/sysfb_efi.c Ard Biesheuvel 2016-04-25 78 si->lfb_linelength = efifb_dmi_list[i].stride; 21289ec02b41c4 arch/x86/kernel/sysfb_efi.c Ard Biesheuvel 2016-04-25 79 si->lfb_width = efifb_dmi_list[i].width; 21289ec02b41c4 arch/x86/kernel/sysfb_efi.c Ard Biesheuvel 2016-04-25 80 si->lfb_height = efifb_dmi_list[i].height; 21289ec02b41c4 arch/x86/kernel/sysfb_efi.c Ard Biesheuvel 2016-04-25 81 } 21289ec02b41c4 arch/x86/kernel/sysfb_efi.c Ard Biesheuvel 2016-04-25 82 } 21289ec02b41c4 arch/x86/kernel/sysfb_efi.c Ard Biesheuvel 2016-04-25 83 } 21289ec02b41c4 arch/x86/kernel/sysfb_efi.c Ard Biesheuvel 2016-04-25 84 :::::: The code at line 70 was first introduced by commit :::::: 21289ec02b41c4b928a0b3de1778b325d714eea3 x86/efi/efifb: Move DMI based quirks handling out of generic code :::::: TO: Ard Biesheuvel :::::: CC: Ingo Molnar --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org