From de636769c8c7359dacccca61d6c187d864d1d3b8 Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Tue, 24 Apr 2018 16:30:38 +0200 Subject: ima: Unify logging Define pr_fmt everywhere. Signed-off-by: Petr Vorel Reported-by: Stephen Rothwell (powerpc build error) Signed-off-by: Mimi Zohar Changelog: Previous pr_fmt definition was too late and caused problems in powerpc allyesconfg build. --- security/integrity/ima/ima_kexec.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'security/integrity/ima/ima_kexec.c') diff --git a/security/integrity/ima/ima_kexec.c b/security/integrity/ima/ima_kexec.c index e473eee913cb..16bd18747cfa 100644 --- a/security/integrity/ima/ima_kexec.c +++ b/security/integrity/ima/ima_kexec.c @@ -10,6 +10,8 @@ * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include #include #include -- cgit v1.2.3