From: Horia Geanta Date: Wed, 23 Jul 2014 08:59:38 +0000 (+0300) Subject: crypto: testmgr - avoid DMA mapping from text, rodata, stack X-Git-Tag: cleanup-for-v3.18~153^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29b77e5dd88e1b920e3e65681f0e7b961ebbdeb8;p=pandora-kernel.git crypto: testmgr - avoid DMA mapping from text, rodata, stack With DMA_API_DEBUG set, following warnings are emitted (tested on CAAM accelerator): DMA-API: device driver maps memory from kernel text or rodata DMA-API: device driver maps memory from stack and the culprits are: -key in __test_aead and __test_hash -result in __test_hash MAX_KEYLEN is changed to accommodate maximum key length from existing test vectors in crypto/testmgr.h (131 bytes) and rounded. Signed-off-by: Horia Geanta Acked-by: Kim Phillips Signed-off-by: Herbert Xu --- Reading git-diff-tree failed