diff options
| author | Giovanni Cabiddu <[email protected]> | 2023-11-28 19:17:25 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2023-12-08 11:59:44 +0800 |
| commit | a643212c9f28d09225c3792c316bc4aaf6be4a68 (patch) | |
| tree | fd62624181fb856ca60ebb85127931a0c37ffbd3 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 487caa8d5ef9a9a27b092c5790d529a7a0c24f8b (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