diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2020-10-08 12:34:56 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-10-30 09:34:45 +0300 |
commit | 0237616173fd363a54bd272aa3bd376faa1d7caa (patch) | |
tree | b47f88d1018843b9c0615f97b3733368a509acc6 /drivers/crypto/hisilicon | |
parent | 195404db27f9533c71fdcb78d32a77075c2cb4a2 (diff) | |
download | linux-0237616173fd363a54bd272aa3bd376faa1d7caa.tar.xz |
crypto: talitos - Fix return type of current_desc_hdr()
current_desc_hdr() returns a u32 but in fact this is a __be32,
leading to a lot of sparse warnings.
Change the return type to __be32 and ensure it is handled as
sure by the caller.
Fixes: 3e721aeb3df3 ("crypto: talitos - handle descriptor not found in error path")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon')
0 files changed, 0 insertions, 0 deletions