| .. | .. | 
|---|
| 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 |   | 
|---|