]> git.karo-electronics.de Git - linux-beck.git/commit
crypto: chcr - Check device is allocated before use
authorHarsh Jain <harsh@chelsio.com>
Tue, 24 Jan 2017 05:04:33 +0000 (10:34 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Feb 2017 09:45:44 +0000 (17:45 +0800)
commitf5f7bebc91ab378dea5aad5277c4d283e46472d9
treeda94e5d483aa22d9dbb77d8ed573335d84a0373b
parent94e1dab1c94715e18bb0bada503de3f3d7593076
crypto: chcr - Check device is allocated before use

Ensure dev is allocated for crypto uld context before using the device
for crypto operations.

Cc: <stable@vger.kernel.org>
Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_core.c