security: integrity: Use a more current logging style

Convert printks to pr_<level>.
Add pr_fmt.
Remove embedded prefixes.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
This commit is contained in:
Joe Perches 2014-02-24 13:59:56 -08:00 committed by Mimi Zohar
parent 74dd744fd7
commit 20ee451f5a
7 changed files with 27 additions and 11 deletions

View file

@ -13,6 +13,8 @@
* - Get the key and enable EVM
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/uaccess.h>
#include <linux/module.h>
#include "evm.h"
@ -79,9 +81,9 @@ static ssize_t evm_write_key(struct file *file, const char __user *buf,
error = evm_init_key();
if (!error) {
evm_initialized = 1;
pr_info("EVM: initialized\n");
pr_info("initialized\n");
} else
pr_err("EVM: initialization failed\n");
pr_err("initialization failed\n");
return count;
}