diff options
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> | 2006-07-03 22:28:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-07-03 22:28:13 -0400 |
commit | 518d1c9679f644811adaa22d853f43a83fbdae84 (patch) | |
tree | 52705bc452ee453eb16127b1f9063e0f012481e6 /drivers/dma | |
parent | 56e0873b7b146564a0c36e225624f5a9b2d63791 (diff) |
[IOAT]: Fix a warning in ioatdma
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>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/ioatdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ioatdma.c b/drivers/dma/ioatdma.c index ecad8f65d2d4..d4810696e8cb 100644 --- a/drivers/dma/ioatdma.c +++ b/drivers/dma/ioatdma.c | |||
@@ -826,7 +826,7 @@ static int __init ioat_init_module(void) | |||
826 | /* if forced, worst case is that rmmod hangs */ | 826 | /* if forced, worst case is that rmmod hangs */ |
827 | __unsafe(THIS_MODULE); | 827 | __unsafe(THIS_MODULE); |
828 | 828 | ||
829 | pci_module_init(&ioat_pci_drv); | 829 | return pci_module_init(&ioat_pci_drv); |
830 | } | 830 | } |
831 | 831 | ||
832 | module_init(ioat_init_module); | 832 | module_init(ioat_init_module); |