Skip to content

Commit

Permalink
[IOAT]: Fix a warning in ioatdma
Browse files Browse the repository at this point in the history
drivers/dma/ioatdma.c: In function 'ioat_init_module':
drivers/dma/ioatdma.c:830: warning: control reaches end of non-void function

Signed-off-by: Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Benoit Boissinot authored and David S. Miller committed Jul 4, 2006
1 parent 56e0873 commit 518d1c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dma/ioatdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ static int __init ioat_init_module(void)
/* if forced, worst case is that rmmod hangs */
__unsafe(THIS_MODULE);

pci_module_init(&ioat_pci_drv);
return pci_module_init(&ioat_pci_drv);
}

module_init(ioat_init_module);
Expand Down

0 comments on commit 518d1c9

Please sign in to comment.