]> git.baikalelectronics.ru Git - kernel.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)
commitc858cfb666f1fa8fe1438be945d4e0c67a250d35
tree00eb5fd28c4f5da4ab8057f96852d48875951bff
parent76aeb77f57079efc04556ab979a003dcfbce030e
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