diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-08-13 21:00:44 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-08-25 08:34:04 -0400 |
commit | 65fafbe9bddf49d53a2bbae92498909e3c5f964b (patch) | |
tree | 110a432d59abb22f14ec11234fd2bc4defac20bb /CREDITS | |
parent | e5ffbfc182bc148f44840bdd3970ea4c8bf80c3c (diff) |
crypto: qat - Fix return value check in adf_chr_drv_create()
In case of error, the function device_create() 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: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions