From: "Benoit Boissinot" <[EMAIL PROTECTED]>

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 <[EMAIL PROTECTED]>
Cc: "Chris Leech" <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 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);
_
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to