提交 3f80be02 编写于 作者: K Kim Phillips 提交者: Herbert Xu

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: NKim Phillips <kim.phillips@freescale.com>
Tested-by: NCristian Stoica <cristian.stoica@freescale.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 e20016a9
...@@ -151,10 +151,15 @@ static void report_ccb_status(struct device *jrdev, const u32 status, ...@@ -151,10 +151,15 @@ static void report_ccb_status(struct device *jrdev, const u32 status,
else else
snprintf(err_err_code, sizeof(err_err_code), "%02x", err_id); snprintf(err_err_code, sizeof(err_err_code), "%02x", err_id);
dev_err(jrdev, "%08x: %s: %s %d: %s%s: %s%s\n", /*
status, error, idx_str, idx, * CCB ICV check failures are part of normal operation life;
cha_str, cha_err_code, * we leave the upper layers to do what they want with them.
err_str, err_err_code); */
if (err_id != JRSTA_CCBERR_ERRID_ICVCHK)
dev_err(jrdev, "%08x: %s: %s %d: %s%s: %s%s\n",
status, error, idx_str, idx,
cha_str, cha_err_code,
err_str, err_err_code);
} }
static void report_jump_status(struct device *jrdev, const u32 status, static void report_jump_status(struct device *jrdev, const u32 status,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册