diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2021-01-14 07:39:58 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-01-22 04:58:01 +0100 |
commit | 5a17eae414ab81b268052768bf0fb35b4f4edbec (patch) | |
tree | a7c9c4319beea7de460435bfa38338e47bed1d25 /drivers/crypto/bcm/spu2.h | |
parent | crypto - shash: reduce minimum alignment of shash_desc structure (diff) | |
download | linux-5a17eae414ab81b268052768bf0fb35b4f4edbec.tar.xz linux-5a17eae414ab81b268052768bf0fb35b4f4edbec.zip |
crypto: bcm - Fix sparse warnings
This patch fixes a number of sparse warnings in the bcm driver.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/bcm/spu2.h')
-rw-r--r-- | drivers/crypto/bcm/spu2.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/crypto/bcm/spu2.h b/drivers/crypto/bcm/spu2.h index 6e666bfb3cfc..a76d4e054466 100644 --- a/drivers/crypto/bcm/spu2.h +++ b/drivers/crypto/bcm/spu2.h @@ -73,10 +73,10 @@ enum spu2_ret_md_opts { /* Fixed Metadata format */ struct SPU2_FMD { - u64 ctrl0; - u64 ctrl1; - u64 ctrl2; - u64 ctrl3; + __le64 ctrl0; + __le64 ctrl1; + __le64 ctrl2; + __le64 ctrl3; }; #define FMD_SIZE sizeof(struct SPU2_FMD) |