Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

trace: Use pr_warn instead of pr_warning

As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of
pr_warning"), removing pr_warning so all logging messages use a
consistent <prefix>_warn style. Let's do it.

Link: http://lkml.kernel.org/r/20191018031850.48498-26-wangkefeng.wang@huawei.com
To: linux-kernel@vger.kernel.org
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>

authored by

Kefeng Wang and committed by
Petr Mladek
3da2e1fd fc65104c

+2 -2
+2 -2
kernel/trace/trace_benchmark.c
··· 178 178 int trace_benchmark_reg(void) 179 179 { 180 180 if (!ok_to_run) { 181 - pr_warning("trace benchmark cannot be started via kernel command line\n"); 181 + pr_warn("trace benchmark cannot be started via kernel command line\n"); 182 182 return -EBUSY; 183 183 } 184 184 185 185 bm_event_thread = kthread_run(benchmark_event_kthread, 186 186 NULL, "event_benchmark"); 187 187 if (IS_ERR(bm_event_thread)) { 188 - pr_warning("trace benchmark failed to create kernel thread\n"); 188 + pr_warn("trace benchmark failed to create kernel thread\n"); 189 189 return PTR_ERR(bm_event_thread); 190 190 } 191 191