diff options
author | wangweidong <wangweidong1@huawei.com> | 2013-12-06 06:24:33 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-09 20:24:18 -0500 |
commit | b73e9e3cf06ef8180c75a6bd28cdd1b833d22a3a (patch) | |
tree | 8823cc5b0cf471c9e139d9b260f4ad651e50cef8 /net/x25/af_x25.c | |
parent | d346a3fae3ff1d99f5d0c819bf86edf9094a26a1 (diff) |
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>
Diffstat (limited to 'net/x25/af_x25.c')
-rw-r--r-- | net/x25/af_x25.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
35 | * response | 35 | * response |
36 | */ | 36 | */ |
37 | 37 | ||
38 | #define pr_fmt(fmt) "X25: " fmt | ||
39 | |||
38 | #include <linux/module.h> | 40 | #include <linux/module.h> |
39 | #include <linux/capability.h> | 41 | #include <linux/capability.h> |
40 | #include <linux/errno.h> | 42 | #include <linux/errno.h> |
@@ -1809,7 +1811,7 @@ static int __init x25_init(void) | |||
1809 | if (rc != 0) | 1811 | if (rc != 0) |
1810 | goto out_sock; | 1812 | goto out_sock; |
1811 | 1813 | ||
1812 | printk(KERN_INFO "X.25 for Linux Version 0.2\n"); | 1814 | pr_info("Linux Version 0.2\n"); |
1813 | 1815 | ||
1814 | x25_register_sysctl(); | 1816 | x25_register_sysctl(); |
1815 | rc = x25_proc_init(); | 1817 | rc = x25_proc_init(); |