]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crypto: caam - fix gfp allocation flags (part II)
authorHoria Geantă <horia.geanta@nxp.com>
Mon, 19 Jun 2017 08:44:46 +0000 (11:44 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Jun 2017 08:47:23 +0000 (16:47 +0800)
commit019d62db54017f4639fd7d4f6592f5a116a16695
tree00eb5fd28c4f5da4ab8057f96852d48875951bff
parent42cfcafb91dabb0f9d9e08396c39824535948c67
crypto: caam - fix gfp allocation flags (part II)

This is the 2nd part of fixing the usage of GFP_KERNEL for memory
allocations, taking care off all the places that haven't caused a real
problem / failure.
Again, the issue being fixed is that GFP_KERNEL should be used only when
MAY_SLEEP flag is set, i.e. MAY_BACKLOG flag usage is orthogonal.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c
drivers/crypto/caam/caamalg_qi.c
drivers/crypto/caam/caamhash.c
drivers/crypto/caam/caampkc.c