From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sachin P. Sant" Subject: [BUILD_FAILURE] 2.6.29-rc3 : drivers/ata/sata_sil.c Date: Thu, 29 Jan 2009 14:58:22 +0530 Message-ID: <498176B6.1040404@in.ibm.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050908090809070809000304" Return-path: Received: from e28smtp05.in.ibm.com ([59.145.155.5]:44289 "EHLO e28smtp05.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753059AbZA2J21 (ORCPT ); Thu, 29 Jan 2009 04:28:27 -0500 In-Reply-To: Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Linux Kernel Mailing List Cc: jgarzik@pobox.com, linux-ide@vger.kernel.org This is a multi-part message in MIME format. --------------050908090809070809000304 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit 2.6.29-rc3 with allmodconfig breaks with following message CALL arch/powerpc/kernel/systbl_chk.sh CALL arch/powerpc/kernel/prom_init_check.sh LD [M] drivers/ata/libata.o CC [M] drivers/ata/sata_sil.o drivers/ata/sata_sil.c: In function sil_broken_system_poweroff: drivers/ata/sata_sil.c:713: error: implicit declaration of function dmi_first_match drivers/ata/sata_sil.c:713: warning: initialization makes pointer from integer without a cast make[2]: *** [drivers/ata/sata_sil.o] Error 1 make[1]: *** [drivers/ata] Error 2 make: *** [drivers] Error 2 Probably needs to include . The following patch fixes it. Signed-off-by : Sachin Sant --- -- --------------------------------- Sachin Sant IBM Linux Technology Center India Systems and Technology Labs Bangalore, India --------------------------------- --------------050908090809070809000304 Content-Type: text/x-patch; name="fix-ata-build-break.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fix-ata-build-break.patch" * Fix ata build break (undefined dmi_first_match symbol) Signed-off-by : Sachin Sant --- diff -Naurp a/drivers/ata/sata_sil.c b/drivers/ata/sata_sil.c --- a/drivers/ata/sata_sil.c 2009-01-29 00:19:30.000000000 +0530 +++ b/drivers/ata/sata_sil.c 2009-01-29 17:15:03.000000000 +0530 @@ -44,6 +44,7 @@ #include #include #include +#include #define DRV_NAME "sata_sil" #define DRV_VERSION "2.4" --------------050908090809070809000304--