Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: octeontx2 - suppress auth failure screaming due to negative tests

This patch addresses an issue where authentication failures were being
erroneously reported due to negative test failures in the "ccm(aes)"
selftest.
pr_debug suppress unnecessary screaming of these tests.

Signed-off-by: Shashank Gupta <shashankg@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Shashank Gupta and committed by
Herbert Xu
64b78715 d599e098

+4 -3
+4 -3
drivers/crypto/marvell/octeontx2/otx2_cptvf_reqmgr.c
··· 264 264 break; 265 265 } 266 266 267 - dev_err(&pdev->dev, 268 - "Request failed with software error code 0x%x\n", 269 - cpt_status->s.uc_compcode); 267 + pr_debug("Request failed with software error code 0x%x: algo = %s driver = %s\n", 268 + cpt_status->s.uc_compcode, 269 + info->req->areq->tfm->__crt_alg->cra_name, 270 + info->req->areq->tfm->__crt_alg->cra_driver_name); 270 271 otx2_cpt_dump_sg_list(pdev, info->req); 271 272 break; 272 273 }