From: Harvey Harrison Date: Thu, 14 Feb 2008 05:14:26 +0000 (-0800) Subject: ata: fix sparse warning in pata_jmicron.c X-Git-Tag: v2.6.25-rc3~137^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ef2f2e4911654f0bc3b432b3d27e7c4d992efb7b;p=linux-2.6-omap-h63xx.git ata: fix sparse warning in pata_jmicron.c drivers/ata/pata_jmicron.c:118:2: warning: returning void-valued expression Signed-off-by: Harvey Harrison Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/pata_jmicron.c b/drivers/ata/pata_jmicron.c index 5b8174d9406..00bbbbd50e9 100644 --- a/drivers/ata/pata_jmicron.c +++ b/drivers/ata/pata_jmicron.c @@ -115,7 +115,8 @@ static int jmicron_pre_reset(struct ata_link *link, unsigned long deadline) static void jmicron_error_handler(struct ata_port *ap) { - return ata_bmdma_drive_eh(ap, jmicron_pre_reset, ata_std_softreset, NULL, ata_std_postreset); + ata_bmdma_drive_eh(ap, jmicron_pre_reset, ata_std_softreset, NULL, + ata_std_postreset); } /* No PIO or DMA methods needed for this device */