diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-05-09 12:19:16 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-06-12 16:25:57 +0200 |
commit | 8ff3458865ef43de80c10a32a4797bb941840aee (patch) | |
tree | 6366c2322c69292c5c7fa7e134fe886aef20e846 /drivers/hsi | |
parent | 35bb092a91b4c43a2079d3d5458b74a059455b6c (diff) |
s390/zcrypt: get rid of little/big endian handling
The zcrypt code contains a couple of functions which receive a
"big_endian" argument. All callers naturally pass "1" for big endian,
since s390 is big endian. Therefore get rid of this argument and also
get rid of the cpu_to_le()/cpu_to_be() calls.
This way we get rid of a couple of sparse warnings:
drivers/s390/crypto/zcrypt_cca_key.h:255:34:
warning: incorrect type in assignment (different base types)
expected unsigned short [unsigned] ulen
got restricted __be16 [usertype] <noident>
Cc: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/hsi')
0 files changed, 0 insertions, 0 deletions