diff options
author | Christoph Hellwig <hch@lst.de> | 2005-08-18 18:25:44 +0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-09-05 04:51:25 +0400 |
commit | 637fa99b86a00a0b5767a982b83a512ff48ad6d2 (patch) | |
tree | cb3f063b83163cfcb53c85e0fd411fe11f766a1f /drivers/message/fusion/mptctl.c | |
parent | ccf3b7bd26b242b39d54148ea2117295721681d3 (diff) | |
download | linux-637fa99b86a00a0b5767a982b83a512ff48ad6d2.tar.xz |
[SCSI] fusion: endianess fixes
Assorted endianess fixes. I'll work on full endianess annotations
later.
Acked by: Moore, Eric Dean <Eric.Moore@lsil.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message/fusion/mptctl.c')
-rw-r--r-- | drivers/message/fusion/mptctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptctl.c b/drivers/message/fusion/mptctl.c index e63a3fd6b706..7577c2417e2e 100644 --- a/drivers/message/fusion/mptctl.c +++ b/drivers/message/fusion/mptctl.c @@ -242,7 +242,7 @@ mptctl_reply(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, MPT_FRAME_HDR *reply) /* Set the command status to GOOD if IOC Status is GOOD * OR if SCSI I/O cmd and data underrun or recovered error. */ - iocStatus = reply->u.reply.IOCStatus & MPI_IOCSTATUS_MASK; + iocStatus = le16_to_cpu(reply->u.reply.IOCStatus) & MPI_IOCSTATUS_MASK; if (iocStatus == MPI_IOCSTATUS_SUCCESS) ioc->ioctl->status |= MPT_IOCTL_STATUS_COMMAND_GOOD; |