From: Luck, Tony Date: Mon, 31 Aug 2009 23:54:03 +0000 (-0700) Subject: [IA64] Fix warning in dma-mapping.c X-Git-Tag: MMI-PSA29.97-13-9~27032^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f2486f26692433ba27cc10991a085b503b0422a3;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [IA64] Fix warning in dma-mapping.c 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 --- diff --git a/arch/ia64/kernel/dma-mapping.c b/arch/ia64/kernel/dma-mapping.c index 39a3cd0a4173..f2c1600da097 100644 --- a/arch/ia64/kernel/dma-mapping.c +++ b/arch/ia64/kernel/dma-mapping.c @@ -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);