File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5070,7 +5070,7 @@ static __init int test_ringbuffer(void)
50705070 int ret = 0 ;
50715071
50725072 if (security_locked_down (LOCKDOWN_TRACEFS )) {
5073- pr_warning ("Lockdown is enabled, skipping ring buffer tests\n" );
5073+ pr_warn ("Lockdown is enabled, skipping ring buffer tests\n" );
50745074 return 0 ;
50755075 }
50765076
Original file line number Diff line number Diff line change @@ -1889,7 +1889,7 @@ int __init register_tracer(struct tracer *type)
18891889 }
18901890
18911891 if (security_locked_down (LOCKDOWN_TRACEFS )) {
1892- pr_warning ("Can not register tracer %s due to lockdown\n" ,
1892+ pr_warn ("Can not register tracer %s due to lockdown\n" ,
18931893 type -> name );
18941894 return - EPERM ;
18951895 }
@@ -8796,7 +8796,7 @@ struct dentry *tracing_init_dentry(void)
87968796 struct trace_array * tr = & global_trace ;
87978797
87988798 if (security_locked_down (LOCKDOWN_TRACEFS )) {
8799- pr_warning ("Tracing disabled due to lockdown\n" );
8799+ pr_warn ("Tracing disabled due to lockdown\n" );
88008800 return ERR_PTR (- EPERM );
88018801 }
88028802
@@ -9244,7 +9244,7 @@ __init static int tracer_alloc_buffers(void)
92449244
92459245
92469246 if (security_locked_down (LOCKDOWN_TRACEFS )) {
9247- pr_warning ("Tracing disabled due to lockdown\n" );
9247+ pr_warn ("Tracing disabled due to lockdown\n" );
92489248 return - EPERM ;
92499249 }
92509250
You can’t perform that action at this time.
0 commit comments