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

crypto: safexcel - Raise firmware load failure message to error

At the moment if there is no firmware available for the safexcel driver
it will fail to load with a cryptic:

crypto-safexcel f2800000.crypto: TRC init: 15360d,80a (48r,256h)
crypto-safexcel f2800000.crypto: HW init failed (-2)

Raise the logging level of the firmware load failure to err rather than
dbg so that it's obvious what the reason for the HW init failure is.

Signed-off-by: Jonathan McDowell <noodles@earth.li>
Reviewed-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Jonathan McDowell and committed by
Herbert Xu
86e8e3ce 88fca80e

+1 -1
+1 -1
drivers/crypto/inside-secure/safexcel.c
··· 474 474 goto retry_fw; 475 475 } 476 476 477 - dev_dbg(priv->dev, "Firmware load failed.\n"); 477 + dev_err(priv->dev, "Firmware load failed.\n"); 478 478 479 479 return ret; 480 480 }