From: Colin Ian King Date: Tue, 14 Apr 2015 16:51:29 +0000 (-0500) Subject: crypto: mv_cesa - ensure backlog is initialised X-Git-Tag: omap-for-v4.2/fixes-rc1^2~164^2~292 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a92b2ba339221a4afee43adf125fcc9a41353f7;p=pandora-kernel.git crypto: mv_cesa - ensure backlog is initialised backlog is not initialised so in the case where cpg->eng_st != ENGINE_IDLE it is never initialised and hence which could lead to an illegal memory dereference in the statement: backlog->complete(backlog, -EINPROGRESS); Discovered with cppcheck static analsys: [drivers/crypto/mv_cesa.c:616]: (error) Uninitialized variable: backlog Signed-off-by: Colin Ian King Signed-off-by: Herbert Xu --- Reading git-diff-tree failed