aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/syscall.h8
-rw-r--r--arch/arm/kernel/atags_parse.c2
-rw-r--r--arch/arm/kernel/hw_breakpoint.c18
-rw-r--r--arch/arm/kernel/irq.c4
-rw-r--r--arch/arm/kernel/perf_event_cpu.c4
-rw-r--r--arch/arm/kernel/smp.c2
-rw-r--r--arch/arm/kernel/unwind.c24
-rw-r--r--arch/arm/mm/idmap.c2
-rw-r--r--arch/arm/mm/mmu.c4
9 files changed, 34 insertions, 34 deletions
diff --git a/arch/arm/include/asm/syscall.h b/arch/arm/include/asm/syscall.h
index 4651f6999b7d..e86c985b8c7a 100644
--- a/arch/arm/include/asm/syscall.h
+++ b/arch/arm/include/asm/syscall.h
@@ -63,8 +63,8 @@ static inline void syscall_get_arguments(struct task_struct *task,
63 if (i + n > SYSCALL_MAX_ARGS) { 63 if (i + n > SYSCALL_MAX_ARGS) {
64 unsigned long *args_bad = args + SYSCALL_MAX_ARGS - i; 64 unsigned long *args_bad = args + SYSCALL_MAX_ARGS - i;
65 unsigned int n_bad = n + i - SYSCALL_MAX_ARGS; 65 unsigned int n_bad = n + i - SYSCALL_MAX_ARGS;
66 pr_warning("%s called with max args %d, handling only %d\n", 66 pr_warn("%s called with max args %d, handling only %d\n",
67 __func__, i + n, SYSCALL_MAX_ARGS); 67 __func__, i + n, SYSCALL_MAX_ARGS);
68 memset(args_bad, 0, n_bad * sizeof(args[0])); 68 memset(args_bad, 0, n_bad * sizeof(args[0]));
69 n = SYSCALL_MAX_ARGS - i; 69 n = SYSCALL_MAX_ARGS - i;
70 } 70 }
@@ -88,8 +88,8 @@ static inline void syscall_set_arguments(struct task_struct *task,
88 return; 88 return;
89 89
90 if (i + n > SYSCALL_MAX_ARGS) { 90 if (i + n > SYSCALL_MAX_ARGS) {
91 pr_warning("%s called with max args %d, handling only %d\n", 91 pr_warn("%s called with max args %d, handling only %d\n",
92 __func__, i + n, SYSCALL_MAX_ARGS); 92 __func__, i + n, SYSCALL_MAX_ARGS);
93 n = SYSCALL_MAX_ARGS - i; 93 n = SYSCALL_MAX_ARGS - i;
94 } 94 }
95 95
diff --git a/arch/arm/kernel/atags_parse.c b/arch/arm/kernel/atags_parse.c
index 7807ef58a2ab..528f8af2addb 100644
--- a/arch/arm/kernel/atags_parse.c
+++ b/arch/arm/kernel/atags_parse.c
@@ -130,7 +130,7 @@ static int __init parse_tag_cmdline(const struct tag *tag)
130 strlcat(default_command_line, tag->u.cmdline.cmdline, 130 strlcat(default_command_line, tag->u.cmdline.cmdline,
131 COMMAND_LINE_SIZE); 131 COMMAND_LINE_SIZE);
132#elif defined(CONFIG_CMDLINE_FORCE) 132#elif defined(CONFIG_CMDLINE_FORCE)
133 pr_warning("Ignoring tag cmdline (using the default kernel command line)\n"); 133 pr_warn("Ignoring tag cmdline (using the default kernel command line)\n");
134#else 134#else
135 strlcpy(default_command_line, tag->u.cmdline.cmdline, 135 strlcpy(default_command_line, tag->u.cmdline.cmdline,
136 COMMAND_LINE_SIZE); 136 COMMAND_LINE_SIZE);
diff --git a/arch/arm/kernel/hw_breakpoint.c b/arch/arm/kernel/hw_breakpoint.c
index 4d963fb66e3f..b5b452f90f76 100644
--- a/arch/arm/kernel/hw_breakpoint.c
+++ b/arch/arm/kernel/hw_breakpoint.c
@@ -113,8 +113,8 @@ static u32 read_wb_reg(int n)
113 GEN_READ_WB_REG_CASES(ARM_OP2_WVR, val); 113 GEN_READ_WB_REG_CASES(ARM_OP2_WVR, val);
114 GEN_READ_WB_REG_CASES(ARM_OP2_WCR, val); 114 GEN_READ_WB_REG_CASES(ARM_OP2_WCR, val);
115 default: 115 default:
116 pr_warning("attempt to read from unknown breakpoint " 116 pr_warn("attempt to read from unknown breakpoint register %d\n",
117 "register %d\n", n); 117 n);
118 } 118 }
119 119
120 return val; 120 return val;
@@ -128,8 +128,8 @@ static void write_wb_reg(int n, u32 val)
128 GEN_WRITE_WB_REG_CASES(ARM_OP2_WVR, val); 128 GEN_WRITE_WB_REG_CASES(ARM_OP2_WVR, val);
129 GEN_WRITE_WB_REG_CASES(ARM_OP2_WCR, val); 129 GEN_WRITE_WB_REG_CASES(ARM_OP2_WCR, val);
130 default: 130 default:
131 pr_warning("attempt to write to unknown breakpoint " 131 pr_warn("attempt to write to unknown breakpoint register %d\n",
132 "register %d\n", n); 132 n);
133 } 133 }
134 isb(); 134 isb();
135} 135}
@@ -292,7 +292,7 @@ int hw_breakpoint_slots(int type)
292 case TYPE_DATA: 292 case TYPE_DATA:
293 return get_num_wrps(); 293 return get_num_wrps();
294 default: 294 default:
295 pr_warning("unknown slot type: %d\n", type); 295 pr_warn("unknown slot type: %d\n", type);
296 return 0; 296 return 0;
297 } 297 }
298} 298}
@@ -365,7 +365,7 @@ int arch_install_hw_breakpoint(struct perf_event *bp)
365 } 365 }
366 366
367 if (i == max_slots) { 367 if (i == max_slots) {
368 pr_warning("Can't find any breakpoint slot\n"); 368 pr_warn("Can't find any breakpoint slot\n");
369 return -EBUSY; 369 return -EBUSY;
370 } 370 }
371 371
@@ -417,7 +417,7 @@ void arch_uninstall_hw_breakpoint(struct perf_event *bp)
417 } 417 }
418 418
419 if (i == max_slots) { 419 if (i == max_slots) {
420 pr_warning("Can't find any breakpoint slot\n"); 420 pr_warn("Can't find any breakpoint slot\n");
421 return; 421 return;
422 } 422 }
423 423
@@ -894,8 +894,8 @@ static int debug_reg_trap(struct pt_regs *regs, unsigned int instr)
894{ 894{
895 int cpu = smp_processor_id(); 895 int cpu = smp_processor_id();
896 896
897 pr_warning("Debug register access (0x%x) caused undefined instruction on CPU %d\n", 897 pr_warn("Debug register access (0x%x) caused undefined instruction on CPU %d\n",
898 instr, cpu); 898 instr, cpu);
899 899
900 /* Set the error flag for this CPU and skip the faulting instruction. */ 900 /* Set the error flag for this CPU and skip the faulting instruction. */
901 cpumask_set_cpu(cpu, &debug_err_mask); 901 cpumask_set_cpu(cpu, &debug_err_mask);
diff --git a/arch/arm/kernel/irq.c b/arch/arm/kernel/irq.c
index 2c4257604513..40cbca6d2aaa 100644
--- a/arch/arm/kernel/irq.c
+++ b/arch/arm/kernel/irq.c
@@ -205,8 +205,8 @@ void migrate_irqs(void)
205 raw_spin_unlock(&desc->lock); 205 raw_spin_unlock(&desc->lock);
206 206
207 if (affinity_broken && printk_ratelimit()) 207 if (affinity_broken && printk_ratelimit())
208 pr_warning("IRQ%u no longer affine to CPU%u\n", i, 208 pr_warn("IRQ%u no longer affine to CPU%u\n",
209 smp_processor_id()); 209 i, smp_processor_id());
210 } 210 }
211 211
212 local_irq_restore(flags); 212 local_irq_restore(flags);
diff --git a/arch/arm/kernel/perf_event_cpu.c b/arch/arm/kernel/perf_event_cpu.c
index e6a6edbec613..101dbab3d6d8 100644
--- a/arch/arm/kernel/perf_event_cpu.c
+++ b/arch/arm/kernel/perf_event_cpu.c
@@ -152,8 +152,8 @@ static int cpu_pmu_request_irq(struct arm_pmu *cpu_pmu, irq_handler_t handler)
152 * continue. Otherwise, continue without this interrupt. 152 * continue. Otherwise, continue without this interrupt.
153 */ 153 */
154 if (irq_set_affinity(irq, cpumask_of(i)) && irqs > 1) { 154 if (irq_set_affinity(irq, cpumask_of(i)) && irqs > 1) {
155 pr_warning("unable to set irq affinity (irq=%d, cpu=%u)\n", 155 pr_warn("unable to set irq affinity (irq=%d, cpu=%u)\n",
156 irq, i); 156 irq, i);
157 continue; 157 continue;
158 } 158 }
159 159
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
index d19aea4385d9..39c74a2c3df9 100644
--- a/arch/arm/kernel/smp.c
+++ b/arch/arm/kernel/smp.c
@@ -646,7 +646,7 @@ void smp_send_stop(void)
646 udelay(1); 646 udelay(1);
647 647
648 if (num_online_cpus() > 1) 648 if (num_online_cpus() > 1)
649 pr_warning("SMP: failed to stop secondary CPUs\n"); 649 pr_warn("SMP: failed to stop secondary CPUs\n");
650} 650}
651 651
652/* 652/*
diff --git a/arch/arm/kernel/unwind.c b/arch/arm/kernel/unwind.c
index a61a1dfbb0db..cbb85c5fabf9 100644
--- a/arch/arm/kernel/unwind.c
+++ b/arch/arm/kernel/unwind.c
@@ -157,7 +157,7 @@ static const struct unwind_idx *search_index(unsigned long addr,
157 if (likely(start->addr_offset <= addr_prel31)) 157 if (likely(start->addr_offset <= addr_prel31))
158 return start; 158 return start;
159 else { 159 else {
160 pr_warning("unwind: Unknown symbol address %08lx\n", addr); 160 pr_warn("unwind: Unknown symbol address %08lx\n", addr);
161 return NULL; 161 return NULL;
162 } 162 }
163} 163}
@@ -225,7 +225,7 @@ static unsigned long unwind_get_byte(struct unwind_ctrl_block *ctrl)
225 unsigned long ret; 225 unsigned long ret;
226 226
227 if (ctrl->entries <= 0) { 227 if (ctrl->entries <= 0) {
228 pr_warning("unwind: Corrupt unwind table\n"); 228 pr_warn("unwind: Corrupt unwind table\n");
229 return 0; 229 return 0;
230 } 230 }
231 231
@@ -333,8 +333,8 @@ static int unwind_exec_insn(struct unwind_ctrl_block *ctrl)
333 insn = (insn << 8) | unwind_get_byte(ctrl); 333 insn = (insn << 8) | unwind_get_byte(ctrl);
334 mask = insn & 0x0fff; 334 mask = insn & 0x0fff;
335 if (mask == 0) { 335 if (mask == 0) {
336 pr_warning("unwind: 'Refuse to unwind' instruction %04lx\n", 336 pr_warn("unwind: 'Refuse to unwind' instruction %04lx\n",
337 insn); 337 insn);
338 return -URC_FAILURE; 338 return -URC_FAILURE;
339 } 339 }
340 340
@@ -357,8 +357,8 @@ static int unwind_exec_insn(struct unwind_ctrl_block *ctrl)
357 unsigned long mask = unwind_get_byte(ctrl); 357 unsigned long mask = unwind_get_byte(ctrl);
358 358
359 if (mask == 0 || mask & 0xf0) { 359 if (mask == 0 || mask & 0xf0) {
360 pr_warning("unwind: Spare encoding %04lx\n", 360 pr_warn("unwind: Spare encoding %04lx\n",
361 (insn << 8) | mask); 361 (insn << 8) | mask);
362 return -URC_FAILURE; 362 return -URC_FAILURE;
363 } 363 }
364 364
@@ -370,7 +370,7 @@ static int unwind_exec_insn(struct unwind_ctrl_block *ctrl)
370 370
371 ctrl->vrs[SP] += 0x204 + (uleb128 << 2); 371 ctrl->vrs[SP] += 0x204 + (uleb128 << 2);
372 } else { 372 } else {
373 pr_warning("unwind: Unhandled instruction %02lx\n", insn); 373 pr_warn("unwind: Unhandled instruction %02lx\n", insn);
374 return -URC_FAILURE; 374 return -URC_FAILURE;
375 } 375 }
376 376
@@ -403,7 +403,7 @@ int unwind_frame(struct stackframe *frame)
403 403
404 idx = unwind_find_idx(frame->pc); 404 idx = unwind_find_idx(frame->pc);
405 if (!idx) { 405 if (!idx) {
406 pr_warning("unwind: Index not found %08lx\n", frame->pc); 406 pr_warn("unwind: Index not found %08lx\n", frame->pc);
407 return -URC_FAILURE; 407 return -URC_FAILURE;
408 } 408 }
409 409
@@ -422,8 +422,8 @@ int unwind_frame(struct stackframe *frame)
422 /* only personality routine 0 supported in the index */ 422 /* only personality routine 0 supported in the index */
423 ctrl.insn = &idx->insn; 423 ctrl.insn = &idx->insn;
424 else { 424 else {
425 pr_warning("unwind: Unsupported personality routine %08lx in the index at %p\n", 425 pr_warn("unwind: Unsupported personality routine %08lx in the index at %p\n",
426 idx->insn, idx); 426 idx->insn, idx);
427 return -URC_FAILURE; 427 return -URC_FAILURE;
428 } 428 }
429 429
@@ -435,8 +435,8 @@ int unwind_frame(struct stackframe *frame)
435 ctrl.byte = 1; 435 ctrl.byte = 1;
436 ctrl.entries = 1 + ((*ctrl.insn & 0x00ff0000) >> 16); 436 ctrl.entries = 1 + ((*ctrl.insn & 0x00ff0000) >> 16);
437 } else { 437 } else {
438 pr_warning("unwind: Unsupported personality routine %08lx at %p\n", 438 pr_warn("unwind: Unsupported personality routine %08lx at %p\n",
439 *ctrl.insn, ctrl.insn); 439 *ctrl.insn, ctrl.insn);
440 return -URC_FAILURE; 440 return -URC_FAILURE;
441 } 441 }
442 442
diff --git a/arch/arm/mm/idmap.c b/arch/arm/mm/idmap.c
index c447ec70e868..e7a81cebbb2e 100644
--- a/arch/arm/mm/idmap.c
+++ b/arch/arm/mm/idmap.c
@@ -27,7 +27,7 @@ static void idmap_add_pmd(pud_t *pud, unsigned long addr, unsigned long end,
27 if (pud_none_or_clear_bad(pud) || (pud_val(*pud) & L_PGD_SWAPPER)) { 27 if (pud_none_or_clear_bad(pud) || (pud_val(*pud) & L_PGD_SWAPPER)) {
28 pmd = pmd_alloc_one(&init_mm, addr); 28 pmd = pmd_alloc_one(&init_mm, addr);
29 if (!pmd) { 29 if (!pmd) {
30 pr_warning("Failed to allocate identity pmd.\n"); 30 pr_warn("Failed to allocate identity pmd.\n");
31 return; 31 return;
32 } 32 }
33 /* 33 /*
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
index 8348ed6b2efe..9f98cec7fe1e 100644
--- a/arch/arm/mm/mmu.c
+++ b/arch/arm/mm/mmu.c
@@ -223,13 +223,13 @@ early_param("ecc", early_ecc);
223 223
224static int __init early_cachepolicy(char *p) 224static int __init early_cachepolicy(char *p)
225{ 225{
226 pr_warning("cachepolicy kernel parameter not supported without cp15\n"); 226 pr_warn("cachepolicy kernel parameter not supported without cp15\n");
227} 227}
228early_param("cachepolicy", early_cachepolicy); 228early_param("cachepolicy", early_cachepolicy);
229 229
230static int __init noalign_setup(char *__unused) 230static int __init noalign_setup(char *__unused)
231{ 231{
232 pr_warning("noalign kernel parameter not supported without cp15\n"); 232 pr_warn("noalign kernel parameter not supported without cp15\n");
233} 233}
234__setup("noalign", noalign_setup); 234__setup("noalign", noalign_setup);
235 235