From: Harvey Harrison Date: Thu, 14 Feb 2008 05:14:11 +0000 (-0800) Subject: ata: fix sparse warning in sata_via.c X-Git-Tag: v2.6.25-rc3~137^2~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=48e1f800eaa08eefe00476b83a7983b707d31848;p=linux-2.6-omap-h63xx.git ata: fix sparse warning in sata_via.c drivers/ata/sata_via.c:336:2: warning: returning void-valued expression Signed-off-by: Harvey Harrison Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c index 30caa033719..0d03f44824f 100644 --- a/drivers/ata/sata_via.c +++ b/drivers/ata/sata_via.c @@ -333,8 +333,8 @@ static int vt6420_prereset(struct ata_link *link, unsigned long deadline) static void vt6420_error_handler(struct ata_port *ap) { - return ata_bmdma_drive_eh(ap, vt6420_prereset, ata_std_softreset, - NULL, ata_std_postreset); + ata_bmdma_drive_eh(ap, vt6420_prereset, ata_std_softreset, NULL, + ata_std_postreset); } static int vt6421_pata_cable_detect(struct ata_port *ap)