Commit 2a03e3a5 authored by Hook, Gary's avatar Hook, Gary Committed by Herbert Xu

crypto: ccp - Include the module name in system log messages

Redefine pr_fmt so that the module name is prefixed to every
log message produced by the ccp-crypto module
Signed-off-by: default avatarGary R Hook <gary.hook@amd.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 4f22f323
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment