diff options
| author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-12-20 11:41:11 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-20 11:45:09 -0800 |
| commit | b751bc77be809ca49d8f2607972f2eb361eaa642 (patch) | |
| tree | 0992a6401ab3e43dee02348fbbeb919f24963208 /tools | |
| parent | a3c383c5c33627ffc01a4d493ffe52af9b463388 (diff) | |
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 <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
