summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-02-13 21:14:26 -0800
committerJeff Garzik <jeff@garzik.org>2008-02-15 13:51:29 -0500
commitef2f2e4911654f0bc3b432b3d27e7c4d992efb7b (patch)
treef9206f53d634c1369f50293fa22fe62590ab5d67 /drivers/ata
parent2072fb55cf2400f2f7f4b47849b69f440bb9808f (diff)
downloadop-kernel-dev-ef2f2e4911654f0bc3b432b3d27e7c4d992efb7b.zip
op-kernel-dev-ef2f2e4911654f0bc3b432b3d27e7c4d992efb7b.tar.gz
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 <harvey.harrison@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_jmicron.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/pata_jmicron.c b/drivers/ata/pata_jmicron.c
index 5b8174d..00bbbbd 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 */
OpenPOWER on IntegriCloud