diff options
author | Yang Yingliang <[email protected]> | 2023-01-18 15:49:20 +0800 |
---|---|---|
committer | Suzuki K Poulose <[email protected]> | 2023-01-19 10:04:44 +0000 |
commit | 075c7c04a81a326a5a28cc0ef8411ba1c5c34e90 (patch) | |
tree | aee90ffc73a949dda52e73cf0cccc08043f8fa61 /tools/perf/scripts/python/sched-migration.py | |
parent | 2d4103ae31aa6d5570fd1178ddc68867ab4ab5bd (diff) |
coresight: ultrasoc-smb: fix return value check in smb_init_data_buffer()
platform_get_resource() returns NULL pointer not PTR_ERR(), replace
the IS_ERR() check with NULL pointer check.
Signed-off-by: Yang Yingliang <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions