Re: [PATCH] crypto: aes-ni - Don't print message with KERN_ERR onold system

From: Herbert Xu
Date: Wed Jun 24 2009 - 01:43:30 EST


On Tue, Jun 23, 2009 at 10:20:16AM -0700, Roland Dreier wrote:
> When the aes-intel module is loaded on a system that does not have the
> AES instructions, it prints
>
> Intel AES-NI instructions are not detected.
>
> at level KERN_ERR. Since aes-intel is aliased to "aes" it will be tried
> whenever anything uses AES and spam the console. This doesn't match
> existing practice for how to handle "no hardware" when initializing a
> module, so downgrade the message to KERN_INFO.
>
> Signed-off-by: Roland Dreier <rolandd@xxxxxxxxx>

Patch applied. Thanks Roland!
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <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/