From: Richard Hartmann on 18 Feb 2010 19:30 Signed-off-by: Richard Hartmann <richih.mailinglist(a)gmail.com> --- crypto/seqiv.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/seqiv.c b/crypto/seqiv.c index 5a013a8..ba79b09 100644 --- a/crypto/seqiv.c +++ b/crypto/seqiv.c @@ -116,7 +116,7 @@ static int seqiv_givencrypt(struct skcipher_givcrypt_request *req) if (unlikely(!IS_ALIGNED((unsigned long)info, crypto_ablkcipher_alignmask(geniv) + 1))) { info = kmalloc(ivsize, req->creq.base.flags & - CRYPTO_TFM_REQ_MAY_SLEEP ? GFP_KERNEL: + CRYPTO_TFM_REQ_MAY_SLEEP ? GFP_KERNEL : GFP_ATOMIC); if (!info) return -ENOMEM; @@ -162,7 +162,7 @@ static int seqiv_aead_givencrypt(struct aead_givcrypt_request *req) if (unlikely(!IS_ALIGNED((unsigned long)info, crypto_aead_alignmask(geniv) + 1))) { info = kmalloc(ivsize, areq->base.flags & - CRYPTO_TFM_REQ_MAY_SLEEP ? GFP_KERNEL: + CRYPTO_TFM_REQ_MAY_SLEEP ? GFP_KERNEL : GFP_ATOMIC); if (!info) return -ENOMEM; -- 1.6.6.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: Orphan DECnet Next: [PATCH 01/19] crypto: internal - Fix checkpatch errors |