aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Miller <mikem@beardog.cce.hp.com>2010-02-04 09:43:26 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-02-17 14:22:40 -0500
commit807be732f928c75b3dfb4273fe5f61b34f05df86 (patch)
tree98cdafb7e18572d9ddfaeaed5f42a5237fc3f1a1
parentd416b0c75fc52e1ac840e6c8c1857ac52d1d7132 (diff)
[SCSI] hpsa: print all the bytes of the CDB, not just the first one.
Signed-off-by: Mike Miller <mikem@beardog.cce.hp.com> Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
-rw-r--r--drivers/scsi/hpsa.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index db12bc2d7d73..b91ccd436acb 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -1061,6 +1061,7 @@ static void complete_scsi_command(struct CommandList *cp,
1061 "Sense: 0x%x, ASC: 0x%x, ASCQ: 0x%x, " 1061 "Sense: 0x%x, ASC: 0x%x, ASCQ: 0x%x, "
1062 "Returning result: 0x%x, " 1062 "Returning result: 0x%x, "
1063 "cmd=[%02x %02x %02x %02x %02x " 1063 "cmd=[%02x %02x %02x %02x %02x "
1064 "%02x %02x %02x %02x %02x %02x "
1064 "%02x %02x %02x %02x %02x]\n", 1065 "%02x %02x %02x %02x %02x]\n",
1065 cp, sense_key, asc, ascq, 1066 cp, sense_key, asc, ascq,
1066 cmd->result, 1067 cmd->result,
@@ -1068,7 +1069,10 @@ static void complete_scsi_command(struct CommandList *cp,
1068 cmd->cmnd[2], cmd->cmnd[3], 1069 cmd->cmnd[2], cmd->cmnd[3],
1069 cmd->cmnd[4], cmd->cmnd[5], 1070 cmd->cmnd[4], cmd->cmnd[5],
1070 cmd->cmnd[6], cmd->cmnd[7], 1071 cmd->cmnd[6], cmd->cmnd[7],
1071 cmd->cmnd[8], cmd->cmnd[9]); 1072 cmd->cmnd[8], cmd->cmnd[9],
1073 cmd->cmnd[10], cmd->cmnd[11],
1074 cmd->cmnd[12], cmd->cmnd[13],
1075 cmd->cmnd[14], cmd->cmnd[15]);
1072 break; 1076 break;
1073 } 1077 }
1074 1078