RE: [platform-drivers-x86:testing 4/5] drivers/platform/x86/dell-smbios-smm.c:99: undefined reference to `dcdbas_smi_request'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Darren,

I looked through this and I think this is caused by dell-smbios-smm
no longer being mandated as it's own module but dcdbas being
allowed to be a module.

The config that was selected had dcdbas as a module and dell-smbios
compiled in. That particular configuration should be prevented

I'm not sure how to express that in Kconfig though.
Maybe:?

config DELL_SMBIOS
	tristate "Dell SMBIOS driver"
	depends on DCDBAS || ACPI_WMI

> -----Original Message-----
> From: kbuild test robot [mailto:fengguang.wu@xxxxxxxxx]
> Sent: Tuesday, March 6, 2018 1:21 PM
> To: Limonciello, Mario <Mario_Limonciello@xxxxxxxx>
> Cc: kbuild-all@xxxxxx; platform-driver-x86@xxxxxxxxxxxxxxx; Darren Hart
> <dvhart@xxxxxxxxxxxxx>; Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Subject: [platform-drivers-x86:testing 4/5] drivers/platform/x86/dell-smbios-
> smm.c:99: undefined reference to `dcdbas_smi_request'
> 
> tree:   git://git.infradead.org/users/dvhart/linux-platform-drivers-x86.git testing
> head:   c715e4345581bdb475ae4fb378a243aee72579ba
> commit: 41e36f2f85af758fd2f4be76112ebe649d07a801 [4/5] platform/x86: dell-
> smbios: Link all dell-smbios-* modules together
> config: x86_64-randconfig-a0-03061102 (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
>         git checkout 41e36f2f85af758fd2f4be76112ebe649d07a801
>         # save the attached .config to linux build tree
>         make ARCH=x86_64
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/platform/x86/dell-smbios-smm.o: In function `dell_smbios_smm_call':
> >> drivers/platform/x86/dell-smbios-smm.c:99: undefined reference to
> `dcdbas_smi_request'
> 
> vim +99 drivers/platform/x86/dell-smbios-smm.c
> 
> 549b4930 Mario Limonciello 2017-11-01   84
> 549b4930 Mario Limonciello 2017-11-01   85  int dell_smbios_smm_call(struct
> calling_interface_buffer *input)
> 549b4930 Mario Limonciello 2017-11-01   86  {
> 549b4930 Mario Limonciello 2017-11-01   87  	struct smi_cmd command;
> 549b4930 Mario Limonciello 2017-11-01   88  	size_t size;
> 549b4930 Mario Limonciello 2017-11-01   89
> 549b4930 Mario Limonciello 2017-11-01   90  	size = sizeof(struct
> calling_interface_buffer);
> 549b4930 Mario Limonciello 2017-11-01   91  	command.magic =
> SMI_CMD_MAGIC;
> 549b4930 Mario Limonciello 2017-11-01   92  	command.command_address =
> da_command_address;
> 549b4930 Mario Limonciello 2017-11-01   93  	command.command_code =
> da_command_code;
> 549b4930 Mario Limonciello 2017-11-01   94  	command.ebx =
> virt_to_phys(buffer);
> 549b4930 Mario Limonciello 2017-11-01   95  	command.ecx = 0x42534931;
> 549b4930 Mario Limonciello 2017-11-01   96
> 549b4930 Mario Limonciello 2017-11-01   97  	mutex_lock(&smm_mutex);
> 549b4930 Mario Limonciello 2017-11-01   98  	memcpy(buffer, input, size);
> 549b4930 Mario Limonciello 2017-11-01  @99  	dcdbas_smi_request(&command);
> 549b4930 Mario Limonciello 2017-11-01  100  	memcpy(input, buffer, size);
> 549b4930 Mario Limonciello 2017-11-01  101  	mutex_unlock(&smm_mutex);
> 549b4930 Mario Limonciello 2017-11-01  102  	return 0;
> 549b4930 Mario Limonciello 2017-11-01  103  }
> 549b4930 Mario Limonciello 2017-11-01  104
> 
> :::::: The code at line 99 was first introduced by commit
> :::::: 549b4930f057658dc50d8010e66219233119a4d8 platform/x86: dell-smbios:
> Introduce dispatcher for SMM calls
> 
> :::::: TO: Mario Limonciello <mario.limonciello@xxxxxxxx>
> :::::: CC: Darren Hart (VMware) <dvhart@xxxxxxxxxxxxx>
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux