Re: [PATCH] staging: ccree: Uninitialized return in ssi_ahash_import()

2017-12-06 Thread Gilad Ben-Yossef
On Tue, Dec 5, 2017 at 4:37 PM, Dan Carpenter wrote: > The return value isn't initialized on some success paths. > > Fixes: c5f39d07860c ("staging: ccree: fix leak of import() after init()") > Signed-off-by: Dan Carpenter > > diff --git

[PATCH] staging: ccree: Uninitialized return in ssi_ahash_import()

2017-12-05 Thread Dan Carpenter
The return value isn't initialized on some success paths. Fixes: c5f39d07860c ("staging: ccree: fix leak of import() after init()") Signed-off-by: Dan Carpenter diff --git a/drivers/staging/ccree/ssi_hash.c b/drivers/staging/ccree/ssi_hash.c index