mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
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>
This commit is contained in:
committed by
Herbert Xu
parent
9b537997b6
commit
13a1bb93f7
@@ -360,8 +360,8 @@
|
||||
|
||||
/* Context Control */
|
||||
struct safexcel_context_record {
|
||||
u32 control0;
|
||||
u32 control1;
|
||||
__le32 control0;
|
||||
__le32 control1;
|
||||
|
||||
__le32 data[40];
|
||||
} __packed;
|
||||
|
||||
Reference in New Issue
Block a user