From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [PATCH] fix sata_sil compilation on non-DMI platforms Date: Fri, 15 May 2009 13:49:16 -0400 Message-ID: <4A0DAB1C.6060404@garzik.org> References: <200905062009.28087.markos@codex.gr> <4A086A76.3090008@garzik.org> <18953.15575.632189.258813@pilspetsen.it.uu.se> <4A0940B9.5080905@garzik.org> <18957.19954.594210.891282@pilspetsen.it.uu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from srv5.dvmed.net ([207.36.208.214]:47341 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751349AbZEORtW (ORCPT ); Fri, 15 May 2009 13:49:22 -0400 In-Reply-To: <18957.19954.594210.891282@pilspetsen.it.uu.se> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Mikael Pettersson Cc: Konstantinos Margaritis , linux-ide@vger.kernel.org, Lennert Buytenhek , Lennart Sorensen Mikael Pettersson wrote: > Ok I've checked now, and the breakage is that the commit referenced > above added dmi stuff to sata_sil.c without an #include , > and that broke !x86 builds: Great! Thanks for checking. > 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 > > x86 builds work because they drag in dmi.h indirectly via some other header. > > The follow-up commit 1737ef7598d3515fdc11cb9ba7e054f334404e04 > "sata_sil: Fix build breakage" added #include which > made !x86 builds work again. 2.6.29-rc3 was released in the window > between these two commits so it had this build breakage. > > So the problem is not that doesn't work, but that > someone apparently backported e57db7bde7bff95ae812736ca00c73bd5271455b > to 2.6.27 but not 1737ef7598d3515fdc11cb9ba7e054f334404e04. OK, so it sounds like upstream is OK, and 2.6.27.x needs 1737ef7598d3515fdc11cb9ba7e054f334404e04 Thanks, Jeff