From: "Benoit Boissinot" 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 Cc: "Chris Leech" Signed-off-by: Andrew Morton --- drivers/dma/ioatdma.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/dma/ioatdma.c~fix-a-warning-in-ioatdma drivers/dma/ioatdma.c --- a/drivers/dma/ioatdma.c~fix-a-warning-in-ioatdma +++ a/drivers/dma/ioatdma.c @@ -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); _