Re: [TESTERS NEEDED]: Rewritten ESP driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: BERTRAND_Joël <joel.bertrand@xxxxxxxxxxx>
Date: Tue, 17 Apr 2007 17:28:24 +0200

> 	esp: esp0: reconnect, tag type changed 22 --> 00

There is a bug in this error message, could you reproduce
this with the following fix applied so I can debug this
further?

The patch might apply with some fuzz.  Even if it doesn't
apply, it is very easy for you to hand edit the file to
change that esp->command_block[1] into esp->command_block[0]
:-)

Thanks!

commit fb6627f19994a6ab6f08faa7c4fcd6856ad40c01
Author: David S. Miller <davem@xxxxxxxxxxxxxxxxxxxx>
Date:   Thu Apr 19 00:45:45 2007 -0700

    [SCSI] SUNESP: Fix error message in esp_reconnect_with_tag().
    
    When the tag type does not match the one in the command
    we printed the tag number instead of the type from the
    command block DMA area.
    
    Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>

diff --git a/drivers/scsi/esp.c b/drivers/scsi/esp.c
index fd5548f..2b79dfe 100644
--- a/drivers/scsi/esp.c
+++ b/drivers/scsi/esp.c
@@ -1439,7 +1439,7 @@ static struct esp_cmd_entry *esp_reconnect_with_tag(struct esp *esp,
 		printk(KERN_ERR PFX "esp%d: Reconnect, tag type changed "
 		       "%02x --> %02x.\n",
 		       esp->host->unique_id, ent->tag[0],
-		       esp->command_block[1]);
+		       esp->command_block[0]);
 		return NULL;
 	}
 
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux