On Tue, Jan 03, 2017 at 01:21:22PM +0000, Colin King wrote: > From: Colin Ian King <colin.k...@canonical.com> > > In the case where keylen <= bs mtk_sha_setkey returns an uninitialized > return value in err. Fix this by returning 0 instead of err. > > Issue detected by static analysis with cppcheck. > > Signed-off-by: Colin Ian King <colin.k...@canonical.com>
Patch applied. Thanks. -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt