x25: convert printks to pr_<level>

use pr_<level> instead of printk(LEVEL)

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
wangweidong
2013-12-06 19:24:33 +08:00
committed by David S. Miller
parent d346a3fae3
commit b73e9e3cf0
7 changed files with 32 additions and 17 deletions

View File

@@ -23,6 +23,8 @@
* i-frames.
*/
#define pr_fmt(fmt) "X25: " fmt
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/kernel.h>
@@ -317,7 +319,7 @@ static int x25_state3_machine(struct sock *sk, struct sk_buff *skb, int frametyp
break;
default:
printk(KERN_WARNING "x25: unknown %02X in state 3\n", frametype);
pr_warn("unknown %02X in state 3\n", frametype);
break;
}