git: 9408ee9e88ef - stable/13 - Remove the newline from arm64 trap panics
Andrew Turner
andrew at FreeBSD.org
Fri Aug 6 12:51:24 UTC 2021
The branch stable/13 has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=9408ee9e88ef7505312d51ea9b431bc0b0bc2b61
commit 9408ee9e88ef7505312d51ea9b431bc0b0bc2b61
Author: Andrew Turner <andrew at FreeBSD.org>
AuthorDate: 2021-07-14 19:49:58 +0000
Commit: Andrew Turner <andrew at FreeBSD.org>
CommitDate: 2021-08-05 20:50:22 +0000
Remove the newline from arm64 trap panics
The panic function will already print a newline so there is no need to
add it here.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 2665851086795c61e799fbe57bfb37cabab3cf8c)
---
sys/arm64/arm64/trap.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys/arm64/arm64/trap.c b/sys/arm64/arm64/trap.c
index cdb7ae8fadae..fa33f713a4fc 100644
--- a/sys/arm64/arm64/trap.c
+++ b/sys/arm64/arm64/trap.c
@@ -424,7 +424,7 @@ do_el1h_sync(struct thread *td, struct trapframe *frame)
#ifdef KDB
kdb_trap(exception, 0, frame);
#else
- panic("No debugger in kernel.\n");
+ panic("No debugger in kernel.");
#endif
break;
case EXCP_WATCHPT_EL1:
@@ -432,7 +432,7 @@ do_el1h_sync(struct thread *td, struct trapframe *frame)
#ifdef KDB
kdb_trap(exception, 0, frame);
#else
- panic("No debugger in kernel.\n");
+ panic("No debugger in kernel.");
#endif
break;
case EXCP_UNKNOWN:
@@ -442,7 +442,7 @@ do_el1h_sync(struct thread *td, struct trapframe *frame)
default:
print_registers(frame);
printf(" far: %16lx\n", READ_SPECIALREG(far_el1));
- panic("Unknown kernel exception %x esr_el1 %lx\n", exception,
+ panic("Unknown kernel exception %x esr_el1 %lx", exception,
esr);
}
}
More information about the dev-commits-src-all
mailing list