diff options
author | Sujit Reddy Thumma <sthumma@codeaurora.org> | 2014-05-26 10:59:10 +0530 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-28 12:25:13 +0200 |
commit | e8c8e82ae96c68cb03e0e877b5a226633d999549 (patch) | |
tree | 91279f40b47eba227fe0dee67b3031497266f76d /drivers/scsi/dtc.c | |
parent | 2bbf5c7f9fe8fea2b2ccf02b9b5d2cbd997f2de1 (diff) |
scsi: ufs: fix endianness sparse warnings
Fix many warnings with incorrect endian assumptions
which makes the code unportable to new architectures.
The UFS specification defines the byte order as big-endian
for UPIU structure and little-endian for the host controller
transfer/task management descriptors.
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Acked-by: Vinayak Holikatti <vinholikatti@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/dtc.c')
0 files changed, 0 insertions, 0 deletions