]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
[IA64] Fix warning in dma-mapping.c
authorLuck, Tony <tony.luck@intel.com>
Mon, 31 Aug 2009 23:54:03 +0000 (16:54 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 2 Sep 2009 16:12:21 +0000 (09:12 -0700)
arch/ia64/kernel/dma-mapping.c:14: warning: control reaches end of non-void function
arch/ia64/kernel/dma-mapping.c:14: warning: no return statement in function returning non-void

This warning was introduced by commit: 390bd132b2831a2ad0268e84bffbfc0680debfe5
Add dma_debug_init() for ia64

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/dma-mapping.c

index 39a3cd0a417326be10680e9d9cb52458e400051f..f2c1600da097f00a6c6c388ded1a9e5523dd39d9 100644 (file)
@@ -10,7 +10,9 @@ EXPORT_SYMBOL(dma_ops);
 
 static int __init dma_init(void)
 {
-       dma_debug_init(PREALLOC_DMA_DEBUG_ENTRIES);
+       dma_debug_init(PREALLOC_DMA_DEBUG_ENTRIES);
+
+       return 0;
 }
 fs_initcall(dma_init);