diff options
author | Haowen Bai <[email protected]> | 2022-04-24 10:05:43 +0800 |
---|---|---|
committer | Nishanth Menon <[email protected]> | 2022-05-03 08:02:05 -0500 |
commit | d4c41d32cf8af10e4c0a35a6d4995de253b54df6 (patch) | |
tree | 4deb3f0c56b70c05137593a4d499855eaec44392 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2b7042500cab7952bdbf4fe4a84de8712b418c36 (diff) |
soc: ti: knav_qmss_queue: Use IS_ERR instead of IS_ERR_OR_NULL when checking knav_queue_open() result
As the usage of knav_queue_open():
* Returns a handle to the open hardware queue if successful. Use IS_ERR()
* to check the returned value for error codes.
It will only return error codes, not null.
Signed-off-by: Haowen Bai <[email protected]>
Signed-off-by: Nishanth Menon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions