crypto: inside-secure - silently return -EINVAL for input error cases
authorPascal van Leeuwen <pvanleeuwen@insidesecure.com>
Tue, 2 Jul 2019 14:39:53 +0000 (16:39 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Jul 2019 04:51:58 +0000 (14:51 +1000)
commit384ce433884af04c2063ec8a0ec0464b3fb6f1d2
treeeedc48314e7eddb30b4bcd02a7a577bb5b39236b
parent36160aadb1034787d4d30b6af7805cb3dd636aac
crypto: inside-secure - silently return -EINVAL for input error cases

Driver was printing an error message for certain input error cases that
should just return -EINVAL, which caused the related testmgr extra tests
to flood the kernel message log. Ensured those cases remain silent while
making some other device-specific errors a bit more verbose.

Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.c