aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/unwind.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/kernel/unwind.c')
-rw-r--r--arch/arm/kernel/unwind.c24
1 files changed, 12 insertions, 12 deletions
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