Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1317569 > unrolled thread
| Started by | Guenter Roeck <patchwork@patchwork.roeck-us.net> |
|---|---|
| First post | 2016-01-26 08:00 +0100 |
| Last post | 2016-01-26 18:00 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] mn10300: Wire up mn10300_dma_supported Guenter Roeck <patchwork@patchwork.roeck-us.net> - 2016-01-26 08:00 +0100
Re: [PATCH] mn10300: Wire up mn10300_dma_supported Christoph Hellwig <hch@lst.de> - 2016-01-26 18:00 +0100
| From | Guenter Roeck <patchwork@patchwork.roeck-us.net> |
|---|---|
| Date | 2016-01-26 08:00 +0100 |
| Subject | [PATCH] mn10300: Wire up mn10300_dma_supported |
| Message-ID | <qV5LA-8nC-3@gated-at.bofh.it> |
From: Guenter Roeck <linux@roeck-us.net>
Commit f151341ca00e ("mn10300: convert to dma_map_ops") declares
mn10300_dma_supported, but does not wire it up. This results in
the following build warning.
arch/mn10300/mm/dma-alloc.c: warning:
'mn10300_dma_supported' defined but not used
Fixes: f151341ca00e ("mn10300: convert to dma_map_ops")
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
arch/mn10300/mm/dma-alloc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mn10300/mm/dma-alloc.c b/arch/mn10300/mm/dma-alloc.c
index 8842394cb49a..5ff49d67f55a 100644
--- a/arch/mn10300/mm/dma-alloc.c
+++ b/arch/mn10300/mm/dma-alloc.c
@@ -128,4 +128,5 @@ struct dma_map_ops mn10300_dma_ops = {
.map_sg = mn10300_dma_map_sg,
.sync_single_for_device = mn10300_dma_sync_single_for_device,
.sync_sg_for_device = mn10300_dma_sync_sg_for_device,
+ .dma_supported = mn10300_dma_supported,
};
--
2.1.4
[toc] | [next] | [standalone]
| From | Christoph Hellwig <hch@lst.de> |
|---|---|
| Date | 2016-01-26 18:00 +0100 |
| Message-ID | <qVf8g-6St-39@gated-at.bofh.it> |
| In reply to | #1317569 |
On Mon, Jan 25, 2016 at 10:55:43PM -0800, Guenter Roeck wrote:
> From: Guenter Roeck <linux@roeck-us.net>
>
> Commit f151341ca00e ("mn10300: convert to dma_map_ops") declares
> mn10300_dma_supported, but does not wire it up. This results in
> the following build warning.
>
> arch/mn10300/mm/dma-alloc.c: warning:
> 'mn10300_dma_supported' defined but not used
Thanks for catching this!
Reviewed-by: Christoph Hellwig <hch@lst.de>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web