Re: 2.6.17-mm4

Benoit Boissinot
2006-06-29T09:44:45Z

On 6/29/06, Andrew Morton <akpm@osdl.org> wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17/2.6.17-mm4/
>
>
> - The RAID patches have been dropped due to testing failures in -mm3.
>
> - The SCSI Attached Storage tree (git-sas.patch) has been restored.
>

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>

Index: linux/drivers/dma/ioatdma.c
===================================================================
--- linux.orig/drivers/dma/ioatdma.c
+++ linux/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);