projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f22f32
)
crypto: ccp - Include the module name in system log messages
author
Hook, Gary
<Gary.Hook@amd.com>
Wed, 10 Jul 2019 21:45:37 +0000
(21:45 +0000)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 26 Jul 2019 12:08:06 +0000
(22:08 +1000)
Redefine pr_fmt so that the module name is prefixed to every
log message produced by the ccp-crypto module
Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-crypto.h
patch
|
blob
|
history
diff --git
a/drivers/crypto/ccp/ccp-crypto.h
b/drivers/crypto/ccp/ccp-crypto.h
index 25409cea846599ad56a17adcf8978287898c2d72..599f7f2820a07febde96e8f1a78e954516cb0704 100644
(file)
--- a/
drivers/crypto/ccp/ccp-crypto.h
+++ b/
drivers/crypto/ccp/ccp-crypto.h
@@
-24,6
+24,10
@@
#include <crypto/akcipher.h>
#include <crypto/internal/rsa.h>
+/* We want the module name in front of our messages */
+#undef pr_fmt
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#define CCP_LOG_LEVEL KERN_INFO
#define CCP_CRA_PRIORITY 300