aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorRoland Dreier <[email protected]>2012-09-18 15:10:56 -0700
committerNicholas Bellinger <[email protected]>2012-09-22 16:23:24 -0700
commite4b11b89f9039ca97b2ed1b6efeb6749fbdeb252 (patch)
treeea95c5b7fb3e00bfac8991571cafb5467ea6ac13 /lib/mpi/mpi-inline.h
parent37bb7899ca366dc212b71b150e78566d04808cc0 (diff)
qla2xxx: Fix endianness of task management response code
The qla2xxx firmware actually expects the task management response code in a CTIO IOCB with SCSI status mode 1 to be in little-endian byte order, ie the response code should be the first byte in the sense_data[] array. The old code erroneously byte-swapped the response code, which puts it in the wrong place on the wire and leads to initiators thinking every task management request succeeds (since they see 0 in the byte where they look for the response code). Signed-off-by: Roland Dreier <[email protected]> Cc: Chad Dupuis <[email protected]> Cc: Arun Easi <[email protected]> Acked-by: Saurav Kashyap <[email protected]> Cc: [email protected] Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions