Cornelia Huck b498484ed4 s390x/css: sense data endianness
We keep the device's sense data in a byte array (following the
architecture), but the ecws are an array of 32 bit values. If we
just blindly copy the values, the sense data will change from
de-facto BE data to de-facto cpu-endian data, which means we end
up doing an incorrect conversion on LE hosts.

Let's just explicitly convert to cpu-endianness while assembling
the irb.

Reported-by: Andy Lutomirski <luto@kernel.org>
Tested-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
2015-11-11 17:21:38 +01:00
..
2015-11-10 13:37:33 +00:00
2015-11-06 10:16:03 +01:00
2015-10-02 16:22:02 -03:00
2015-09-25 12:04:43 +02:00
2015-10-27 15:59:46 +00:00
2015-10-27 15:59:46 +00:00
2015-11-06 14:09:01 -05:00
2015-09-25 12:04:43 +02:00
2015-10-27 15:59:46 +00:00
2015-10-27 15:59:46 +00:00
2015-10-23 12:35:18 +11:00
2015-10-23 12:35:18 +11:00
2015-11-11 17:21:38 +01:00
2015-09-07 10:39:28 +01:00
2015-11-10 15:00:28 +01:00
2015-09-25 14:52:17 +02:00
2015-11-06 15:42:38 +03:00