linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BK PATCH] 2.6.x libata oops fix
@ 2005-01-29  4:10 Jeff Garzik
  0 siblings, 0 replies; only message in thread
From: Jeff Garzik @ 2005-01-29  4:10 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton, linux-ide@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 28 bytes --]

BK info and patch attached.

[-- Attachment #2: changelog.txt --]
[-- Type: text/plain, Size: 351 bytes --]

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>


[-- Attachment #3: patch --]
[-- Type: text/plain, Size: 426 bytes --]

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)
 	{

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-29  4:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-29  4:10 [BK PATCH] 2.6.x libata oops fix Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).