Commit 462b29b8564c489e0aa3f5a3a505fd2776af5e55
Committed by
Linus Torvalds
1 parent
84117da5b7
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
kernel/backtracetest.c: replace no level printk by pr_info()
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 9 additions and 9 deletions Side-by-side Diff
kernel/backtracetest.c
... | ... | @@ -19,8 +19,8 @@ |
19 | 19 | |
20 | 20 | static void backtrace_test_normal(void) |
21 | 21 | { |
22 | - printk("Testing a backtrace from process context.\n"); | |
23 | - printk("The following trace is a kernel self test and not a bug!\n"); | |
22 | + pr_info("Testing a backtrace from process context.\n"); | |
23 | + pr_info("The following trace is a kernel self test and not a bug!\n"); | |
24 | 24 | |
25 | 25 | dump_stack(); |
26 | 26 | } |
... | ... | @@ -37,8 +37,8 @@ |
37 | 37 | |
38 | 38 | static void backtrace_test_irq(void) |
39 | 39 | { |
40 | - printk("Testing a backtrace from irq context.\n"); | |
41 | - printk("The following trace is a kernel self test and not a bug!\n"); | |
40 | + pr_info("Testing a backtrace from irq context.\n"); | |
41 | + pr_info("The following trace is a kernel self test and not a bug!\n"); | |
42 | 42 | |
43 | 43 | init_completion(&backtrace_work); |
44 | 44 | tasklet_schedule(&backtrace_tasklet); |
... | ... | @@ -51,8 +51,8 @@ |
51 | 51 | struct stack_trace trace; |
52 | 52 | unsigned long entries[8]; |
53 | 53 | |
54 | - printk("Testing a saved backtrace.\n"); | |
55 | - printk("The following trace is a kernel self test and not a bug!\n"); | |
54 | + pr_info("Testing a saved backtrace.\n"); | |
55 | + pr_info("The following trace is a kernel self test and not a bug!\n"); | |
56 | 56 | |
57 | 57 | trace.nr_entries = 0; |
58 | 58 | trace.max_entries = ARRAY_SIZE(entries); |
59 | 59 | |
60 | 60 | |
... | ... | @@ -65,19 +65,19 @@ |
65 | 65 | #else |
66 | 66 | static void backtrace_test_saved(void) |
67 | 67 | { |
68 | - printk("Saved backtrace test skipped.\n"); | |
68 | + pr_info("Saved backtrace test skipped.\n"); | |
69 | 69 | } |
70 | 70 | #endif |
71 | 71 | |
72 | 72 | static int backtrace_regression_test(void) |
73 | 73 | { |
74 | - printk("====[ backtrace testing ]===========\n"); | |
74 | + pr_info("====[ backtrace testing ]===========\n"); | |
75 | 75 | |
76 | 76 | backtrace_test_normal(); |
77 | 77 | backtrace_test_irq(); |
78 | 78 | backtrace_test_saved(); |
79 | 79 | |
80 | - printk("====[ end of backtrace testing ]====\n"); | |
80 | + pr_info("====[ end of backtrace testing ]====\n"); | |
81 | 81 | return 0; |
82 | 82 | } |
83 | 83 |