From patchwork Tue Nov 26 18:12:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Russell King - ARM Linux X-Patchwork-Id: 3240191 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 892E89F3A0 for ; Tue, 26 Nov 2013 18:12:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 62EB320445 for ; Tue, 26 Nov 2013 18:12:43 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E6A232043C for ; Tue, 26 Nov 2013 18:12:41 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VlN7m-0005TS-JB; Tue, 26 Nov 2013 18:12:38 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VlN7k-00033p-9u; Tue, 26 Nov 2013 18:12:36 +0000 Received: from [2002:4e20:1eda::1] (helo=caramon.arm.linux.org.uk) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VlN7e-00033C-Sr for linux-arm-kernel@lists.infradead.org; Tue, 26 Nov 2013 18:12:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=arm.linux.org.uk; s=caramon; h=Sender:Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=vaucH9RIsCF2QyDse0R6V2tFphijfjYuXYVjRFxnVug=; b=GHIszbY2ZgusU3GcS2NuKKY3P8CB0j1v2rYZxNTw+dqJ7uDqjgxjHp58xgxpwOBFho1XpqtaOdDfi8vGvGyb5WZUnCmsUM2aAZNhzXG034RJZL3GiKRTn7npk2P9v9IQXqOGcvfpbDiMQUjk8QulWKsmm9eApvyZBjfqh8nQ6Lg=; Received: from n2100.arm.linux.org.uk ([2002:4e20:1eda:1:214:fdff:fe10:4f86]:33970) by caramon.arm.linux.org.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1VlN7E-0001UP-RH for linux-arm-kernel@lists.infradead.org; Tue, 26 Nov 2013 18:12:05 +0000 Received: from linux by n2100.arm.linux.org.uk with local (Exim 4.76) (envelope-from ) id 1VlN7D-00053Z-Co for linux-arm-kernel@lists.infradead.org; Tue, 26 Nov 2013 18:12:03 +0000 Date: Tue, 26 Nov 2013 18:12:03 +0000 From: Russell King - ARM Linux To: linux-arm-kernel@lists.infradead.org Subject: Fwd: [PATCH] Fix pl08x warnings Message-ID: <20131126181202.GA19425@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131126_131232_161203_607B5AD1 X-CRM114-Status: GOOD ( 14.68 ) X-Spam-Score: -1.2 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Okay, I suck at email today. ----- Forwarded message from Russell King - ARM Linux ----- Date: Tue, 26 Nov 2013 18:11:17 +0000 From: Russell King - ARM Linux To: Dan Williams Subject: [PATCH] Fix pl08x warnings drivers/dma/amba-pl08x.c: In function 'pl08x_desc_free': drivers/dma/amba-pl08x.c:1173:2: warning: passing argument 1 of 'dma_descriptor_unmap' from incompatible pointer type include/linux/dmaengine.h:476:91: note: expected 'struct dma_async_tx_descriptor *' but argument is of type 'struct pl08x_txd *' Fixes: d38a8c622a1b ("dmaengine: prepare for generic 'unmap' data") Signed-off-by: Russell King --- This was introduced during the last merge window, and this warning is one which should never have been ignored. drivers/dma/amba-pl08x.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ----- End forwarded message ----- diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c index 68fe0e9661f8..1c4af965344b 100644 --- a/drivers/dma/amba-pl08x.c +++ b/drivers/dma/amba-pl08x.c @@ -1170,7 +1170,7 @@ static void pl08x_desc_free(struct virt_dma_desc *vd) struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); struct pl08x_dma_chan *plchan = to_pl08x_chan(vd->tx.chan); - dma_descriptor_unmap(txd); + dma_descriptor_unmap(&vd->tx); if (!txd->done) pl08x_release_mux(plchan);