linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martins Krikis <mkrikis@yahoo.com>
To: jgarzik@pobox.com
Cc: linux-kernel@vger.kernel.org
Cc: mkrikis@yahoo.com
Subject: [PATCH, 2.4] fix an oops in ata_to_sense_error
Date: 28 Jan 2005 12:41:22 -0500	[thread overview]
Message-ID: <87ekg5e9j1.fsf@yahoo.com> (raw)

Jeff,

This fixes an occasional oops in the libata-scsi code.

  Martins Krikis

--- linux-2.4.29/drivers/scsi/libata-scsi.c	2005-01-28 12:07:56.000000000 -0500
+++ linux-2.4.29-iswraid/drivers/scsi/libata-scsi.c	2005-01-28 12:14:43.000000000 -0500
@@ -283,7 +283,8 @@ void ata_to_sense_error(struct ata_queue
 	/* 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)
 	{




             reply	other threads:[~2005-01-28 17:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-28 17:41 Martins Krikis [this message]
2005-01-29  1:30 ` [PATCH, 2.4] fix an oops in ata_to_sense_error Jeff Garzik
2005-01-29  1:31 ` Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ekg5e9j1.fsf@yahoo.com \
    --to=mkrikis@yahoo.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).