Re: 2.6.18-rc5-mm1 ich_pata_cbl_detect returns a value despitebeing void

From: Alan Cox
Date: Mon Sep 04 2006 - 06:15:24 EST


Ar Llu, 2006-09-04 am 12:04 +0000, ysgrifennodd Frederik Deweerdt:
> Hi,
>
> Compiling 2.6.18-rc5-mm1 issues the following warning:
> CC drivers/ata/ata_piix.o
> drivers/ata/ata_piix.c: In function 'ich_pata_cbl_detect':
> drivers/ata/ata_piix.c:612: warning: 'return' with a value, in
> function returning void
>


Yep already fixed in my tree. Your fix is correct.

Acked-by: Alan Cox <alan@xxxxxxxxxx>


--
VGER BF report: H 0.0204275
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/