projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0edafc
)
[SCSI] hpsa: fix scsi status mis-shift
author
Stephen M. Cameron
<scameron@beardog.cce.hp.com>
Thu, 25 Feb 2010 20:03:01 +0000
(14:03 -0600)
committer
James Bottomley
<James.Bottomley@suse.de>
Wed, 3 Mar 2010 13:06:04 +0000
(18:36 +0530)
The SCSI status does not need to be shifted.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/hpsa.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/hpsa.c
b/drivers/scsi/hpsa.c
index
3734f31
..
604b4c9
100644
(file)
--- a/
drivers/scsi/hpsa.c
+++ b/
drivers/scsi/hpsa.c
@@
-1006,7
+1006,7
@@
static void complete_scsi_command(struct CommandList *cp,
cmd->result = (DID_OK << 16); /* host byte */
cmd->result |= (COMMAND_COMPLETE << 8); /* msg byte */
- cmd->result |=
(ei->ScsiStatus << 1)
;
+ cmd->result |=
ei->ScsiStatus
;
/* copy the sense data whether we need to or not. */
memcpy(cmd->sense_buffer, ei->SenseInfo,