]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: omap-aes - avoid spamming console with self tests
authorTero Kristo <t-kristo@ti.com>
Wed, 27 May 2020 12:24:23 +0000 (15:24 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 4 Jun 2020 12:03:39 +0000 (22:03 +1000)
commitbaac38154a6a02b9bd8044aeda1e1202a0c6461a
tree9ed642cd96fd72553e69410964f0a7943545a0de
parente235f348cc171a33bc90abe34e009ff2b5d7f204
crypto: omap-aes - avoid spamming console with self tests

Running the self test suite for omap-aes with extra tests enabled causes
huge spam with the tag message wrong indicators. With self tests, this
is fine as there are some tests that purposedly pass bad data to the
driver. Also, returning -EBADMSG from the driver is enough, so remove the
dev_err message completely.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-aes-gcm.c