Re: [PATCH] crypto: inside-secure - initialize first_rdesc to make GCC happy
From: Herbert Xu
Date: Fri Jul 20 2018 - 02:21:25 EST
On Fri, Jul 13, 2018 at 05:43:16PM +0200, Antoine Tenart wrote:
> In the cipher safexcel_send_req function, GCC warns that
> first_rdesc may be used uninitialized. While this should never
> happen, this patch removes the warning by initializing this
> variable to NULL to make GCC happy.
>
> This was reported by the kbuild test robot.
>
> Signed-off-by: Antoine Tenart <antoine.tenart@xxxxxxxxxxx>
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt