From: Harvey Harrison Date: Thu, 14 Feb 2008 05:14:31 +0000 (-0800) Subject: ata: fix sparse warning in pata_acpi.c X-Git-Tag: v2.6.25-rc3~137^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5410f729e331bd607d99057ece59f6d7866cd3dc;p=linux-2.6-omap-h63xx.git ata: fix sparse warning in pata_acpi.c drivers/ata/pata_acpi.c:80:2: warning: returning void-valued expression Signed-off-by: Harvey Harrison Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/pata_acpi.c b/drivers/ata/pata_acpi.c index 244098a80ce..bdc3b9d7395 100644 --- a/drivers/ata/pata_acpi.c +++ b/drivers/ata/pata_acpi.c @@ -77,8 +77,8 @@ static int pacpi_cable_detect(struct ata_port *ap) static void pacpi_error_handler(struct ata_port *ap) { - return ata_bmdma_drive_eh(ap, pacpi_pre_reset, ata_std_softreset, - NULL, ata_std_postreset); + ata_bmdma_drive_eh(ap, pacpi_pre_reset, ata_std_softreset, NULL, + ata_std_postreset); } /**