[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ide
Subject:    [BK PATCH] 2.6.x libata oops fix
From:       Jeff Garzik <jgarzik () pobox ! com>
Date:       2005-01-29 4:10:34
Message-ID: 41FB0CBA.1040409 () pobox ! com
[Download RAW message or body]

BK info and patch attached.

["changelog.txt" (text/plain)]

Please do a

	bk pull bk://gkernel.bkbits.net/libata-2.6

This will update the following files:

 drivers/scsi/libata-scsi.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

through these ChangeSets:

<mkrikis@yahoo.com> (05/01/28 1.1987)
   [PATCH] fix an oops in ata_to_sense_error
   
   Signed-off-by: Jeff Garzik <jgarzik@pobox.com>


["patch" (text/plain)]

diff -Nru a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c
--- a/drivers/scsi/libata-scsi.c	2005-01-28 23:08:06 -05:00
+++ b/drivers/scsi/libata-scsi.c	2005-01-28 23:08:06 -05:00
@@ -282,7 +282,8 @@
 	/* No immediate match */
 	if(err)
 		printk(KERN_DEBUG "ata%u: no sense translation for 0x%02x\n", qc->ap->id, err);
-	
+
+	i = 0;
 	/* Fall back to interpreting status bits */
 	while(stat_table[i][0] != 0xFF)
 	{

-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic