aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGiovanni Cabiddu <[email protected]>2023-11-28 19:17:25 +0000
committerHerbert Xu <[email protected]>2023-12-08 11:59:44 +0800
commita643212c9f28d09225c3792c316bc4aaf6be4a68 (patch)
treefd62624181fb856ca60ebb85127931a0c37ffbd3 /tools/perf/scripts/python/stackcollapse.py
parent487caa8d5ef9a9a27b092c5790d529a7a0c24f8b (diff)
crypto: qat - add NULL pointer check
There is a possibility that the function adf_devmgr_pci_to_accel_dev() might return a NULL pointer. Add a NULL pointer check in the function rp2srv_show(). Fixes: dbc8876dd873 ("crypto: qat - add rp2svc sysfs attribute") Signed-off-by: Giovanni Cabiddu <[email protected]> Reviewed-by: Ahsan Atta <[email protected]> Reviewed-by: David Guckian <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions