aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2015-01-20 13:43:10 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2015-01-25 19:34:23 -0500
commit3f80be023900790d029a63e27440f1e33c048b73 (patch)
tree18d0407fbf097811e0a084df797f29b1c2530b6b /drivers/crypto
parente20016a9c68cebeec7d7dddb005656c8134295c4 (diff)
crypto: caam - don't emit ICV check failures to dmesg
ICV check failures are part of normal operation; leave user notification up to the higher levels, as is done in s/w algorithm implementations. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Tested-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/caam/error.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/drivers/crypto/caam/error.c b/drivers/crypto/caam/error.c
index 66d73bf54166..33e41ea83fcc 100644
--- a/drivers/crypto/caam/error.c
+++ b/drivers/crypto/caam/error.c
@@ -151,10 +151,15 @@ static void report_ccb_status(struct device *jrdev, const u32 status,
151 else 151 else
152 snprintf(err_err_code, sizeof(err_err_code), "%02x", err_id); 152 snprintf(err_err_code, sizeof(err_err_code), "%02x", err_id);
153 153
154 dev_err(jrdev, "%08x: %s: %s %d: %s%s: %s%s\n", 154 /*
155 status, error, idx_str, idx, 155 * CCB ICV check failures are part of normal operation life;
156 cha_str, cha_err_code, 156 * we leave the upper layers to do what they want with them.
157 err_str, err_err_code); 157 */
158 if (err_id != JRSTA_CCBERR_ERRID_ICVCHK)
159 dev_err(jrdev, "%08x: %s: %s %d: %s%s: %s%s\n",
160 status, error, idx_str, idx,
161 cha_str, cha_err_code,
162 err_str, err_err_code);
158} 163}
159 164
160static void report_jump_status(struct device *jrdev, const u32 status, 165static void report_jump_status(struct device *jrdev, const u32 status,