Re: [PATCH] crypto: 842 - remove WARN inside printk

From: Herbert Xu
Date: Wed Dec 23 2015 - 05:25:58 EST


On Mon, Dec 21, 2015 at 12:52:10PM -0500, Dan Streetman wrote:
> 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@xxxxxxxxxxxxx>
> Signed-off-by: Dan Streetman <ddstreet@xxxxxxxx>

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/