summaryrefslogtreecommitdiffstats
path: root/drivers/mcb
diff options
context:
space:
mode:
authorDan Streetman <ddstreet@ieee.org>2015-07-22 14:26:33 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2015-07-23 18:14:30 +0800
commit7f6e3aad5ab31c310b36bf0edcd305305b20e2a8 (patch)
treefbf9d3ddc0e990c2dac76192b7b346a7fdbf6b3d /drivers/mcb
parent90fd73f912f0897bc22351b55925a4962c045086 (diff)
downloadop-kernel-dev-7f6e3aad5ab31c310b36bf0edcd305305b20e2a8.zip
op-kernel-dev-7f6e3aad5ab31c310b36bf0edcd305305b20e2a8.tar.gz
crypto: nx - move kzalloc() out of spinlock
Move the kzalloc() calls in nx842_probe() and nx842_OF_upd() to the top of the functions, before taking the devdata spinlock. Since kzalloc() without GFP_ATOMIC can sleep, it can't be called while holding a spinlock. Move the calls to before taking the lock. Signed-off-by: Dan Streetman <ddstreet@ieee.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/mcb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud