From b73e9e3cf06ef8180c75a6bd28cdd1b833d22a3a Mon Sep 17 00:00:00 2001 From: wangweidong Date: Fri, 6 Dec 2013 19:24:33 +0800 Subject: x25: convert printks to pr_ use pr_ instead of printk(LEVEL) Suggested-by: Joe Perches Signed-off-by: Wang Weidong Signed-off-by: David S. Miller --- net/x25/af_x25.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'net/x25/af_x25.c') diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c index 7622789d3750..c8a8297cd4b8 100644 --- a/net/x25/af_x25.c +++ b/net/x25/af_x25.c @@ -35,6 +35,8 @@ * response */ +#define pr_fmt(fmt) "X25: " fmt + #include #include #include @@ -1809,7 +1811,7 @@ static int __init x25_init(void) if (rc != 0) goto out_sock; - printk(KERN_INFO "X.25 for Linux Version 0.2\n"); + pr_info("Linux Version 0.2\n"); x25_register_sysctl(); rc = x25_proc_init(); -- cgit v1.2.3-59-g8ed1b