Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1274901
| From | Christoph Hellwig <hch@lst.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/4] C6X: fix build breakage |
| Date | 2015-11-22 17:40 +0100 |
| Message-ID | <qxFQe-6mz-35@gated-at.bofh.it> (permalink) |
| References | <qxFQe-6mz-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Dan Carpenter <dan.carpenter@oracle.com>
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 <dan.carpenter@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
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/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
dma mapping fixes Christoph Hellwig <hch@lst.de> - 2015-11-22 17:40 +0100 [PATCH 2/4] arc: dma mapping fixes Christoph Hellwig <hch@lst.de> - 2015-11-22 17:40 +0100 [PATCH 3/4] c6x: dma mapping fixes Christoph Hellwig <hch@lst.de> - 2015-11-22 17:40 +0100 [PATCH 1/4] C6X: fix build breakage Christoph Hellwig <hch@lst.de> - 2015-11-22 17:40 +0100 [PATCH 4/4] nios2: dma mapping fixes Christoph Hellwig <hch@lst.de> - 2015-11-22 17:40 +0100 Re: dma mapping fixes Mark Salter <msalter@redhat.com> - 2015-11-24 02:10 +0100
csiph-web