From: Harvey Harrison Date: Thu, 14 Feb 2008 05:14:26 +0000 (-0800) Subject: ata: fix sparse warning in pata_jmicron.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ef2f2e4911654f0bc3b432b3d27e7c4d992efb7b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 5b8174d94067..00bbbbd50e97 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 */