Skip to contentSkip to conversation

Incorrect command size for group 4 SCSI commands

PATCH New Khalid Aziz 1 participant 1 message Apr 18, 2001 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Incorrect command size for group 4 SCSI commands

SCSI subsystem defines the size of group 4 SCSI commands as 12. This is incorrect. SCSI-3 specs define group 4 command size as 16. Following patch fixes this.

Thanks,
Khalid

====================================================================
Khalid Aziz Linux Development Laboratory
(970)898-9214 Hewlett-Packard
[email protected] Fort Collins, CO

drivers/scsi/scsi.c +1 -1
@@ -104,7 +104,7 @@
 const unsigned char scsi_command_size[8] =
 {
 	6, 10, 10, 12,
-	12, 12, 10, 10
+	16, 12, 10, 10
 };
 static unsigned long serial_number;
 static Scsi_Cmnd *scsi_bh_queue_head;