OSDN Git Service

crypto: inside-secure - Fixed warnings on inconsistent byte order handling
authorPascal van Leeuwen <pascalvanl@gmail.com>
Tue, 22 Oct 2019 09:01:43 +0000 (11:01 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Nov 2019 05:33:42 +0000 (13:33 +0800)
commit13a1bb93f7b1c90099c557696951884ea7dcda34
tree70d33821c8eeefa106b1c2520e35d3e6767037e7
parent9b537997b669c42cec67893538037e8d1c83c91c
crypto: inside-secure - Fixed warnings on inconsistent byte order handling

This fixes a bunch of endianness related sparse warnings reported by the
kbuild test robot as well as Ben Dooks.

Credits for the fix to safexcel.c go to Ben Dooks.

Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.c
drivers/crypto/inside-secure/safexcel.h
drivers/crypto/inside-secure/safexcel_cipher.c
drivers/crypto/inside-secure/safexcel_hash.c