[tip:x86/cleanups 1/2] arch/arm64/include/asm/efi.h:102:20: error: static declaration of 'efifb_setup_from_dmi' follows non-static declaration
From: kbuild test robot
Date: Thu Nov 22 2018 - 10:37:30 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/cleanups
head: c382986fe178d02abdfcd6f4e7b9783c2922872c
commit: d37904c5b14317a2c76efec6b9e4dbcaa17380e5 [1/2] x86/headers: Fix -Wmissing-prototypes warning
config: arm64-allmodconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout d37904c5b14317a2c76efec6b9e4dbcaa17380e5
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=arm64
All errors (new ones prefixed by >>):
In file included from arch/arm64/kernel/setup.c:62:0:
>> arch/arm64/include/asm/efi.h:102:20: error: static declaration of 'efifb_setup_from_dmi' follows non-static declaration
static inline void efifb_setup_from_dmi(struct screen_info *si, const char *opt)
^~~~~~~~~~~~~~~~~~~~
In file included from arch/arm64/kernel/setup.c:40:0:
include/linux/efi.h:1056:13: note: previous declaration of 'efifb_setup_from_dmi' was here
extern void efifb_setup_from_dmi(struct screen_info *si, const char *opt);
^~~~~~~~~~~~~~~~~~~~
vim +/efifb_setup_from_dmi +102 arch/arm64/include/asm/efi.h
760b61d76 Ard Biesheuvel 2017-08-18 101
9822504c1 Ard Biesheuvel 2016-04-25 @102 static inline void efifb_setup_from_dmi(struct screen_info *si, const char *opt)
9822504c1 Ard Biesheuvel 2016-04-25 103 {
9822504c1 Ard Biesheuvel 2016-04-25 104 }
9822504c1 Ard Biesheuvel 2016-04-25 105
:::::: The code at line 102 was first introduced by commit
:::::: 9822504c1fa5c557ea8776765f03fd16eb4de4c9 efifb: Enable the efi-framebuffer platform driver for ARM and arm64
:::::: TO: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip