diff options
author | Giovanni Cabiddu <giovanni.cabiddu@intel.com> | 2023-11-28 19:17:25 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-12-08 11:59:44 +0800 |
commit | a643212c9f28d09225c3792c316bc4aaf6be4a68 (patch) | |
tree | fd62624181fb856ca60ebb85127931a0c37ffbd3 /drivers/crypto/marvell | |
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 <giovanni.cabiddu@intel.com>
Reviewed-by: Ahsan Atta <ahsan.atta@intel.com>
Reviewed-by: David Guckian <david.guckian@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/marvell')
0 files changed, 0 insertions, 0 deletions