summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/caam/error.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-05-23 10:50:30 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-05-30 09:35:45 +0200
commit8a82451bd04f57bfde8915f289fc2d1f9457abae (patch)
tree7b76cf106bb66441347dad2b4d6f97ff90a38f84 /drivers/crypto/caam/error.h
parentcrypto: caam - print debug messages at debug level (diff)
downloadlinux-8a82451bd04f57bfde8915f289fc2d1f9457abae.tar.xz
linux-8a82451bd04f57bfde8915f289fc2d1f9457abae.zip
crypto: caam - print messages in caam_dump_sg at debug level
caam_dump_sg() is only compiled in when DEBUG is defined, hence the messages are debug messages. Remove the @level argument from caam_dump_sg() and print all messages at debug level. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/error.h')
-rw-r--r--drivers/crypto/caam/error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/caam/error.h b/drivers/crypto/caam/error.h
index 8c6b83e02a70..d9726e66edbf 100644
--- a/drivers/crypto/caam/error.h
+++ b/drivers/crypto/caam/error.h
@@ -17,7 +17,7 @@ void caam_strstatus(struct device *dev, u32 status, bool qi_v2);
#define caam_jr_strstatus(jrdev, status) caam_strstatus(jrdev, status, false)
#define caam_qi2_strstatus(qidev, status) caam_strstatus(qidev, status, true)
-void caam_dump_sg(const char *level, const char *prefix_str, int prefix_type,
+void caam_dump_sg(const char *prefix_str, int prefix_type,
int rowsize, int groupsize, struct scatterlist *sg,
size_t tlen, bool ascii);