]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: padlock-aes - Make module loading even quieter when hardware is missing
authorJonathan Nieder <jrnieder@gmail.com>
Wed, 3 Aug 2011 06:07:11 +0000 (14:07 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 3 Aug 2011 06:07:11 +0000 (14:07 +0800)
commit1bb870ae036f62f96b7524cdd451bde6f4e152fc
treeaacb90658d204a0daf4af6e184e6c482a063637c
parent81775635ea288d6818170cb1b0cf79017aaa5aef
crypto: padlock-aes - Make module loading even quieter when hardware is missing

When loading aes via the module alias, a padlock module failing to
load due to missing hardware is not particularly notable.  With
v2.6.27-rc1~1107^2~14 (crypto: padlock - Make module loading quieter
when hardware isn't available, 2008-07-03), the padlock-aes module
suppresses the relevant messages when the "quiet" flag is in use; but
better to suppress this particular message completely, since the
administrator can already distinguish such errors by the absence of a
message indicating initialization failing or succeeding.

This avoids occasional messages in syslog of the form

padlock_aes: VIA PadLock not detected.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/padlock-aes.c