diff options
author | Sun Ke <[email protected]> | 2022-08-30 11:13:47 +0800 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2022-09-09 16:18:32 +0800 |
commit | dc377e013bec20dfedaec5d1f6327e4d57da359b (patch) | |
tree | 6d4b534380f6ada0eaf237947b7238ce49daa156 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | efc96d43ec38381dacbd51679c2d01438511371d (diff) |
crypto: aspeed - fix return value check in aspeed_hace_probe()
In case of error, the function devm_ioremap_resource() returns
ERR_PTR() not NULL. The NULL test in the return value check must be
replaced with IS_ERR().
Fixes: 108713a713c7 ("crypto: aspeed - Add HACE hash driver")
Signed-off-by: Sun Ke <[email protected]>
Reviewed-by: Neal Liu<[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions