Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752513AbbKVQa0 (ORCPT ); Sun, 22 Nov 2015 11:30:26 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:33831 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752249AbbKVQaV (ORCPT ); Sun, 22 Nov 2015 11:30:21 -0500 From: Christoph Hellwig To: akpm@linux-foundation.org Cc: msalter@redhat.com, a-jacquiot@ti.com, linux-kernel@vger.kernel.org, dan.carpenter@oracle.com, linux@roeck-us.net Subject: [PATCH 1/4] C6X: fix build breakage Date: Sun, 22 Nov 2015 17:25:43 +0100 Message-Id: <1448209546-24404-2-git-send-email-hch@lst.de> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1448209546-24404-1-git-send-email-hch@lst.de> References: <1448209546-24404-1-git-send-email-hch@lst.de> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1037 Lines: 32 From: Dan Carpenter There is a missing curly brace so this code doesn't build. Fixes: 84f2f1c6ad15 ('c6x: convert to dma_map_ops') Signed-off-by: Dan Carpenter Signed-off-by: Christoph Hellwig --- arch/c6x/kernel/dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/c6x/kernel/dma.c b/arch/c6x/kernel/dma.c index fd1d5c0..8b7db6e 100644 --- a/arch/c6x/kernel/dma.c +++ b/arch/c6x/kernel/dma.c @@ -58,7 +58,7 @@ static int c6x_dma_map_sg(struct device *dev, struct scatterlist *sglist, struct scatterlist *sg; int i; - for_each_sg(sglist, sg, nents, i) + for_each_sg(sglist, sg, nents, i) { sg->dma_address = sg_phys(sg); c6x_dma_sync(sg->dma_address, sg->length, dir); } -- 1.9.1 -- 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/