On Wed, Jul 31, 2019 at 12:03:25AM +0000, Hook, Gary wrote: > From: Gary R Hook <gary.hook@xxxxxxx> > > Return and fail driver initialization if a DMA pool or coherent memory > can't be allocated. Be sure to clean up allocated memory. > > Fixes: 4b394a232df7 ("crypto: ccp - Let a v5 CCP provide the same function as v3") > > Signed-off-by: Gary R Hook <gary.hook@xxxxxxx> > --- > > Changes since v1: > - Switch to devm allocation where appropriate > > drivers/crypto/ccp/ccp-dev-v5.c | 14 ++++---------- > 1 file changed, 4 insertions(+), 10 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt