From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756484AbeDZM7r (ORCPT ); Thu, 26 Apr 2018 08:59:47 -0400 Received: from esa2.dell-outbound.iphmx.com ([68.232.149.220]:56644 "EHLO esa2.dell-outbound.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756434AbeDZM7O (ORCPT ); Thu, 26 Apr 2018 08:59:14 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2EHAQBmzOFah2Oa6ERbGgEBAQEBAgEBA?= =?us-ascii?q?QEIAQEBAYQWDnooCphagXSBD456hhELGAsLhD4CgxMhOBQBAgEBAQEBAQIBAQI?= =?us-ascii?q?QAQEBCgsJCCgjDII1IhFLLwEBAQEBAQEBASQBAQEBAQEjAg1dAQEBAQMBOT8MB?= =?us-ascii?q?AIBCBEEAQEfCQcoHgkIAgQOBQiFBw+pQIhEgkAFiBGCE4EPgwuCehcFhzECjBi?= =?us-ascii?q?LcQiFY4UKg1OMXSuJEoZ+gSUzgXRwgxOCLhqISIU+bwGQE4EYAQE?= X-IPAS-Result: =?us-ascii?q?A2EHAQBmzOFah2Oa6ERbGgEBAQEBAgEBAQEIAQEBAYQWDno?= =?us-ascii?q?oCphagXSBD456hhELGAsLhD4CgxMhOBQBAgEBAQEBAQIBAQIQAQEBCgsJCCgjD?= =?us-ascii?q?II1IhFLLwEBAQEBAQEBASQBAQEBAQEjAg1dAQEBAQMBOT8MBAIBCBEEAQEfCQc?= =?us-ascii?q?oHgkIAgQOBQiFBw+pQIhEgkAFiBGCE4EPgwuCehcFhzECjBiLcQiFY4UKg1OMX?= =?us-ascii?q?SuJEoZ+gSUzgXRwgxOCLhqISIU+bwGQE4EYAQE?= From: X-LoopCount0: from 10.166.132.169 X-IronPort-AV: E=Sophos;i="5.49,330,1520917200"; d="scan'208";a="1080877920" X-DLP: DLP_GlobalPCIDSS To: CC: , , Subject: RE: drivers/platform/x86/dell-smbios-smm.c:99: undefined reference to `dcdbas_smi_request' Thread-Topic: drivers/platform/x86/dell-smbios-smm.c:99: undefined reference to `dcdbas_smi_request' Thread-Index: AQHT3VguREJMgZMGtUGVqhU08r4OM6QTAdYQ Date: Thu, 26 Apr 2018 12:58:48 +0000 Message-ID: References: <201804262040.e9Mjb0H2%fengguang.wu@intel.com> In-Reply-To: <201804262040.e9Mjb0H2%fengguang.wu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.143.18.86] Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id w3QCxrZk031359 This looks like the failure that was just fixed. > -----Original Message----- > From: kbuild test robot [mailto:lkp@intel.com] > Sent: Thursday, April 26, 2018 7:14 AM > To: Limonciello, Mario > Cc: kbuild-all@01.org; linux-kernel@vger.kernel.org; Darren Hart (VMware) > Subject: drivers/platform/x86/dell-smbios-smm.c:99: undefined reference to > `dcdbas_smi_request' > > Hi Mario, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 69bfd470f4623d2d57ad62cb33791cded0c662f4 > commit: 25d47027e1003546bfd8964b4423cb39bc2d53e9 platform/x86: dell-smbios: > Link all dell-smbios-* modules together > date: 7 weeks ago > config: x86_64-randconfig-v0-04261635 (attached as .config) > compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 > reproduce: > git checkout 25d47027e1003546bfd8964b4423cb39bc2d53e9 > # 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 > :::::: CC: Darren Hart (VMware) > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation