From: Wei Yongjun Date: Fri, 20 Dec 2013 03:41:11 +0000 (+0800) Subject: staging: lustre: fix return value check in capa_hmac() X-Git-Tag: v3.14-rc1~150^2~210 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b751bc77be809ca49d8f2607972f2eb361eaa642;p=pandora-kernel.git staging: lustre: fix return value check in capa_hmac() In case of error, the function crypto_alloc_hash() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed