diff options
| author | Horia Geantă <[email protected]> | 2020-11-12 11:21:46 +0200 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2020-11-20 14:45:32 +1100 |
| commit | 0049a1329bb9569196a551bb658500394d98ed50 (patch) | |
| tree | a335e3faea7442c4efe1f41fcbad54305d013819 /tools/perf/scripts/python | |
| parent | 3ad99c22cebee84034bc53e42f5115dbc97490e8 (diff) | |
crypto: caam/qi - simplify error path for context allocation
Wang Qing reports that IS_ERR_OR_NULL() should be matched with
PTR_ERR_OR_ZERO(), not PTR_ERR().
As it turns out, the error path always returns an error code,
i.e. NULL is never returned.
Update the code accordingly - s/IS_ERR_OR_NULL/IS_ERR.
Reported-by: Wang Qing <[email protected]>
Signed-off-by: Horia Geantă <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions