Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=48e1f800eaa08eefe00476b83a7983b707d31848
Commit:     48e1f800eaa08eefe00476b83a7983b707d31848
Parent:     6903c0f7efe907ada1b9636b52c5ae11fd51ab68
Author:     Harvey Harrison <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 13 21:14:11 2008 -0800
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Fri Feb 15 13:51:01 2008 -0500

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/ata/sata_via.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c
index 30caa03..0d03f44 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)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to