Skip to content

Commit

Permalink
[IA64] Fix warning in dma-mapping.c
Browse files Browse the repository at this point in the history
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: 390bd13
	Add dma_debug_init() for ia64

Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Luck, Tony committed Sep 2, 2009
1 parent 37d0892 commit f2486f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/ia64/kernel/dma-mapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f2486f2

Please sign in to comment.