Re: [PATCH v2 01/16] dell-laptop: extract SMBIOS-related code to a separate module

From: kbuild test robot
Date: Sat Jan 23 2016 - 21:18:40 EST


Hi MichaÅ,

[auto build test ERROR on platform-drivers-x86/for-next]
[also build test ERROR on v4.4 next-20160122]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Micha-K-pie/Common-Dell-SMBIOS-API/20160122-223550
base: git://git.infradead.org/users/dvhart/linux-platform-drivers-x86.git for-next
config: x86_64-randconfig-n0-01240935 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/platform/x86/dell-smbios.c: In function 'dell_send_request':
>> drivers/platform/x86/dell-smbios.c:71:16: error: implicit declaration of function 'virt_to_phys' [-Werror=implicit-function-declaration]
command.ebx = virt_to_phys(buffer);
^
cc1: some warnings being treated as errors

vim +/virt_to_phys +71 drivers/platform/x86/dell-smbios.c

65 {
66 struct smi_cmd command;
67
68 command.magic = SMI_CMD_MAGIC;
69 command.command_address = da_command_address;
70 command.command_code = da_command_code;
> 71 command.ebx = virt_to_phys(buffer);
72 command.ecx = 0x42534931;
73
74 buffer->class = class;

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

Attachment: .config.gz
Description: Binary data