diff options
author | Petr Vorel <pvorel@suse.cz> | 2018-04-24 17:30:38 +0300 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2018-05-17 14:49:12 +0300 |
commit | de636769c8c7359dacccca61d6c187d864d1d3b8 (patch) | |
tree | 5990e3d3715a588b370af5bd097baf5155909d2a /security/integrity/ima/ima_template_lib.c | |
parent | ffb122de9a60bd789422fd9caa4d8363acf1e851 (diff) | |
download | linux-de636769c8c7359dacccca61d6c187d864d1d3b8.tar.xz |
ima: Unify logging
Define pr_fmt everywhere.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> (powerpc build error)
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Changelog:
Previous pr_fmt definition was too late and caused problems in powerpc
allyesconfg build.
Diffstat (limited to 'security/integrity/ima/ima_template_lib.c')
-rw-r--r-- | security/integrity/ima/ima_template_lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/integrity/ima/ima_template_lib.c b/security/integrity/ima/ima_template_lib.c index 5afaa53decc5..43752002c222 100644 --- a/security/integrity/ima/ima_template_lib.c +++ b/security/integrity/ima/ima_template_lib.c @@ -13,6 +13,8 @@ * Library of supported template fields. */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include "ima_template_lib.h" static bool ima_template_hash_algo_allowed(u8 algo) |