]> git.baikalelectronics.ru Git - kernel.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)
commitfc486a71e882b3e399d64f1ab61bcc99a3792c76
treeda94e5d483aa22d9dbb77d8ed573335d84a0373b
parent89f307f9b8b8356796e48f7df2dcd99c795ab951
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