crypto: inside-secure - initialize first_rdesc to make GCC happy
authorAntoine Tenart <antoine.tenart@bootlin.com>
Fri, 13 Jul 2018 15:43:16 +0000 (17:43 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Jul 2018 05:51:22 +0000 (13:51 +0800)
commite5c8ee1f7cc2b090ecb44b34b1f7d22665526fdc
tree5eb4c276378d022f7b22cabfcdea28815071df61
parent301422e37782ba20371ee1d3cdb900f816c58e66
crypto: inside-secure - initialize first_rdesc to make GCC happy

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@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel_cipher.c