* [withdrawn] hpsa-fix-scsi-status-reporting-yet-again.patch removed from -mm tree
@ 2010-02-02 22:32 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2010-02-02 22:32 UTC (permalink / raw)
To: scameron, James.Bottomley, mm-commits
The patch titled
hpsa: fix scsi status reporting yet again.
has been removed from the -mm tree. Its filename was
hpsa-fix-scsi-status-reporting-yet-again.patch
This patch was dropped because it was withdrawn
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: hpsa: fix scsi status reporting yet again.
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Fix scsi status reporting yet again, reverting an earlier attempt. The
status byte does not need to be shifted << 1. Code in other drivers that
does "scp->result |= CHECK_CONDITION << 1;" works because CHECK_CONDITION
macro is pre-shifted right 1 bit.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/scsi/hpsa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/scsi/hpsa.c~hpsa-fix-scsi-status-reporting-yet-again drivers/scsi/hpsa.c
--- a/drivers/scsi/hpsa.c~hpsa-fix-scsi-status-reporting-yet-again
+++ a/drivers/scsi/hpsa.c
@@ -930,7 +930,7 @@ static void complete_scsi_command(struct
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,
_
Patches currently in -mm which might be from scameron@beardog.cce.hp.com are
hpsa-fix-scsi-status-reporting-yet-again.patch
drivers-scsi-hpsac-fix-section-mismatch.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-02 22:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-02 22:32 [withdrawn] hpsa-fix-scsi-status-reporting-yet-again.patch removed from -mm tree akpm
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).