crypto: 842 - remove WARN inside printk
authorDan Streetman <ddstreet@ieee.org>
Mon, 21 Dec 2015 17:52:10 +0000 (12:52 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Dec 2015 10:20:01 +0000 (18:20 +0800)
commit5ca636b986eecce09d4935d490f8d16248b6ce08
tree2a96c0312e85362c8ff9919d8c8b6c4b79343349
parent4537992be7cb9954d19647bec4008ee39ad77217
crypto: 842 - remove WARN inside printk

Remove the WARN() from the beN_to_cpu macro, which is used as a param to a
pr_debug() call.  With a certain kernel config, this printk-in-printk
results in the no_printk() macro trying to recursively call the
no_printk() macro, and since macros can't recursively call themselves
a build error results.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
lib/842/842_decompress.c