Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757494AbZA2J2p (ORCPT ); Thu, 29 Jan 2009 04:28:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752880AbZA2J23 (ORCPT ); Thu, 29 Jan 2009 04:28:29 -0500 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 Message-ID: <498176B6.1040404@in.ibm.com> Date: Thu, 29 Jan 2009 14:58:22 +0530 From: "Sachin P. Sant" User-Agent: Thunderbird 2.0.0.17 (X11/20080915) MIME-Version: 1.0 To: Linux Kernel Mailing List CC: jgarzik@pobox.com, linux-ide@vger.kernel.org Subject: [BUILD_FAILURE] 2.6.29-rc3 : drivers/ata/sata_sil.c References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------050908090809070809000304" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2011 Lines: 66 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-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/