Re: [PATCH v7 4/8] firmware: Add new platform fallback mechanism and firmware_request_platform()

From: kbuild test robot
Date: Fri Oct 04 2019 - 15:34:03 EST


Hi Hans,

I love your patch! Yet something to improve:

[auto build test ERROR on efi/next]
[cannot apply to v5.4-rc1 next-20191004]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url: https://github.com/0day-ci/linux/commits/Hans-de-Goede/efi-firmware-platform-x86-Add-EFI-embedded-fw-support/20191005-021239
base: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next
config: i386-defconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

ld: drivers/base/firmware_loader/fallback_platform.o: in function `fw_grow_paged_buf':
>> fallback_platform.c:(.text+0x0): multiple definition of `fw_grow_paged_buf'; drivers/base/firmware_loader/main.o:main.c:(.text+0x760): first defined here
ld: drivers/base/firmware_loader/fallback_platform.o: in function `fw_map_paged_buf':
>> fallback_platform.c:(.text+0x10): multiple definition of `fw_map_paged_buf'; drivers/base/firmware_loader/main.o:main.c:(.text+0x770): first defined here

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip