git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3c383c
)
staging: lustre: fix return value check in capa_hmac()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Fri, 20 Dec 2013 03:41:11 +0000
(11:41 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 20 Dec 2013 19:45:09 +0000
(11:45 -0800)
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 <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found