Thread (2 messages) 2 messages, 2 authors, 2020-10-30

Re: [PATCH] crypto: talitos - Fix return type of current_desc_hdr()

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2020-10-30 06:48:31
Also in: linux-crypto, lkml

On Thu, Oct 08, 2020 at 09:34:56AM +0000, Christophe Leroy wrote:
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 <redacted>
---
 drivers/crypto/talitos.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Patch applied.  Thanks.
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help