kernel-testers.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mn10300: Wire up mn10300_dma_supported
@ 2016-01-26  6:55 Guenter Roeck
  2016-01-26 16:55 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2016-01-26  6:55 UTC (permalink / raw)
  To: David Howells
  Cc: Koichi Yasutake, linux-am33-list-H+wXaHxf7aLQT0dZR+AlfA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	kernel-testers-u79uwXL29TY76Z2rM5mHXA, Guenter Roeck,
	Christoph Hellwig

From: Guenter Roeck <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>

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-jcswGhMUV9g@public.gmane.org>
Signed-off-by: Guenter Roeck <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mn10300: Wire up mn10300_dma_supported
  2016-01-26  6:55 [PATCH] mn10300: Wire up mn10300_dma_supported Guenter Roeck
@ 2016-01-26 16:55 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2016-01-26 16:55 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: David Howells, Koichi Yasutake, linux-am33-list, linux-kernel,
	kernel-testers, Guenter Roeck, Christoph Hellwig

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-26 16:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-26  6:55 [PATCH] mn10300: Wire up mn10300_dma_supported Guenter Roeck
2016-01-26 16:55 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).