diff options
author | Harsh Jain <harsh@chelsio.com> | 2017-01-24 08:04:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-15 02:25:32 +0300 |
commit | b4de8af91b8ab9a604a5acd78b0d8763cf5818b5 (patch) | |
tree | ae23d37d835f4768c1578041814d7db520a4c0a6 /drivers/crypto/qat/qat_common/icp_qat_hal.h | |
parent | 066a7166c5412ea4c04b1946faf2aa7cda48ee60 (diff) | |
download | linux-b4de8af91b8ab9a604a5acd78b0d8763cf5818b5.tar.xz |
crypto: chcr - Check device is allocated before use
commit f5f7bebc91ab378dea5aad5277c4d283e46472d9 upstream.
Ensure dev is allocated for crypto uld context before using the device
for crypto operations.
Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/crypto/qat/qat_common/icp_qat_hal.h')
0 files changed, 0 insertions, 0 deletions