| .. | .. |
|---|
| 46 | 46 | if (id != num_counters) |
|---|
| 47 | 47 | oprofile_add_sample(regs, id); |
|---|
| 48 | 48 | else |
|---|
| 49 | | - pr_warning("oprofile: ignoring spurious overflow " |
|---|
| 50 | | - "on cpu %u\n", cpu); |
|---|
| 49 | + pr_warn("oprofile: ignoring spurious overflow on cpu %u\n", |
|---|
| 50 | + cpu); |
|---|
| 51 | 51 | } |
|---|
| 52 | 52 | |
|---|
| 53 | 53 | /* |
|---|
| .. | .. |
|---|
| 88 | 88 | |
|---|
| 89 | 89 | if (pevent->state != PERF_EVENT_STATE_ACTIVE) { |
|---|
| 90 | 90 | perf_event_release_kernel(pevent); |
|---|
| 91 | | - pr_warning("oprofile: failed to enable event %d " |
|---|
| 92 | | - "on CPU %d\n", event, cpu); |
|---|
| 91 | + pr_warn("oprofile: failed to enable event %d on CPU %d\n", |
|---|
| 92 | + event, cpu); |
|---|
| 93 | 93 | return -EBUSY; |
|---|
| 94 | 94 | } |
|---|
| 95 | 95 | |
|---|