linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH, 2.4] fix an oops in ata_to_sense_error
@ 2005-01-28 17:41 Martins Krikis
  2005-01-29  1:30 ` Jeff Garzik
  2005-01-29  1:31 ` Jeff Garzik
  0 siblings, 2 replies; 3+ messages in thread
From: Martins Krikis @ 2005-01-28 17:41 UTC (permalink / raw)
  To: jgarzik; +Cc: linux-kernel, mkrikis

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH, 2.4] fix an oops in ata_to_sense_error
  2005-01-28 17:41 [PATCH, 2.4] fix an oops in ata_to_sense_error Martins Krikis
@ 2005-01-29  1:30 ` Jeff Garzik
  2005-01-29  1:31 ` Jeff Garzik
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2005-01-29  1:30 UTC (permalink / raw)
  To: Martins Krikis; +Cc: linux-kernel

Martins Krikis wrote:
> Jeff,
> 
> This fixes an occasional oops in the libata-scsi code.

will apply, thanks.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH, 2.4] fix an oops in ata_to_sense_error
  2005-01-28 17:41 [PATCH, 2.4] fix an oops in ata_to_sense_error Martins Krikis
  2005-01-29  1:30 ` Jeff Garzik
@ 2005-01-29  1:31 ` Jeff Garzik
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2005-01-29  1:31 UTC (permalink / raw)
  To: Martins Krikis; +Cc: linux-kernel

Martins Krikis wrote:
> 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


BTW, don't forget your signed-off-by line when submitting emails...

http://linux.yyz.us/patch-format.html

	Jeff



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-01-29  1:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-28 17:41 [PATCH, 2.4] fix an oops in ata_to_sense_error Martins Krikis
2005-01-29  1:30 ` Jeff Garzik
2005-01-29  1:31 ` 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).