To enable eventual removal of pr_warning

This makes pr_warn use consistent for arch/alpha

Prior to this patch, there were 2 uses of pr_warning and
0 uses of pr_warn in arch/alpha

Signed-off-by: Joe Perches <j...@perches.com>
---
 arch/alpha/kernel/perf_event.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/alpha/kernel/perf_event.c b/arch/alpha/kernel/perf_event.c
index 5c218aa3f3df..06c118ab640b 100644
--- a/arch/alpha/kernel/perf_event.c
+++ b/arch/alpha/kernel/perf_event.c
@@ -828,7 +828,7 @@ static void alpha_perf_event_irq_handler(unsigned long 
la_ptr,
        if (unlikely(la_ptr >= alpha_pmu->num_pmcs)) {
                /* This should never occur! */
                irq_err_count++;
-               pr_warning("PMI: silly index %ld\n", la_ptr);
+               pr_warn("PMI: silly index %ld\n", la_ptr);
                wrperfmon(PERFMON_CMD_ENABLE, cpuc->idx_mask);
                return;
        }
@@ -851,7 +851,7 @@ static void alpha_perf_event_irq_handler(unsigned long 
la_ptr,
        if (unlikely(!event)) {
                /* This should never occur! */
                irq_err_count++;
-               pr_warning("PMI: No event at index %d!\n", idx);
+               pr_warn("PMI: No event at index %d!\n", idx);
                wrperfmon(PERFMON_CMD_ENABLE, cpuc->idx_mask);
                return;
        }
-- 
2.10.0.rc2.1.g053435c

Reply via email to