Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760689AbXIZDkQ (ORCPT ); Tue, 25 Sep 2007 23:40:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756158AbXIZDj6 (ORCPT ); Tue, 25 Sep 2007 23:39:58 -0400 Received: from srv5.dvmed.net ([207.36.208.214]:55434 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755452AbXIZDj5 (ORCPT ); Tue, 25 Sep 2007 23:39:57 -0400 Message-ID: <46F9D482.8090407@garzik.org> Date: Tue, 25 Sep 2007 23:39:46 -0400 From: Jeff Garzik User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: Satyam Sharma CC: Alan Cox , Mel Gorman , Andrew Morton , Linux Kernel Mailing List , linux-ide@vger.kernel.org, linuxppc-dev@ozlabs.org, kamalesh@linux.vnet.ibm.com Subject: Re: 2.6.23-rc6-mm1: Build failure on ppc64 drivers/ata/pata_scc.c References: <20070918011841.2381bd93.akpm@linux-foundation.org> <20070920131315.GE24105@skynet.ie> <20070920150925.0caf3aef@the-village.bc.nu> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.4 (----) X-Spam-Report: SpamAssassin version 3.1.9 on srv5.dvmed.net summary: Content analysis details: (-4.4 points, 5.0 required) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2195 Lines: 54 Satyam Sharma wrote: > Hi, > > > On Thu, 20 Sep 2007, Alan Cox wrote: >> On Thu, 20 Sep 2007 14:13:15 +0100 >> mel@skynet.ie (Mel Gorman) wrote: >> >>> PPC64 building allmodconfig fails to compile drivers/ata/pata_scc.c . It >>> doesn't show up on other arches because this driver is specific to the >>> architecture. >>> >>> drivers/ata/pata_scc.c: In function `scc_bmdma_status' >> Its not been updated to match the libata core changes. Try something like >> this. Whoever is maintaining it should also remove the prereset cable handling >> code and use the proper cable detect method. > > It appears you forgot to fix scc_std_softreset() and one of its callsites > in scc_bdma_stop(). A complete patch is attempted below -- please review. > > > [PATCH -mm] pata_scc: Keep up with libata core API changes > > Little fixlets, that the build started erroring / warning about: > > drivers/ata/pata_scc.c: In function 'scc_bmdma_status': > drivers/ata/pata_scc.c:734: error: structure has no member named 'active_tag' > drivers/ata/pata_scc.c: In function 'scc_pata_prereset': > drivers/ata/pata_scc.c:866: warning: passing arg 1 of 'ata_std_prereset' from incompatible pointer type > drivers/ata/pata_scc.c: In function 'scc_error_handler': > drivers/ata/pata_scc.c:908: warning: passing arg 2 of 'ata_bmdma_drive_eh' from incompatible pointer type > drivers/ata/pata_scc.c:908: warning: passing arg 3 of 'ata_bmdma_drive_eh' from incompatible pointer type > drivers/ata/pata_scc.c:908: warning: passing arg 5 of 'ata_bmdma_drive_eh' from incompatible pointer type > make[2]: *** [drivers/ata/pata_scc.o] Error 1 > > Signed-off-by: Satyam Sharma > Cc: Alan Cox > Cc: Mel Gorman > > --- > > Andrew, this includes (supercedes) the previous two ones from Mel / Alan. > > drivers/ata/pata_scc.c | 21 ++++++++++++--------- > 1 file changed, 12 insertions(+), 9 deletions(-) applied - 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/