Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 2021 12:51:22 GMT
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 9408ee9e88ef - stable/13 - Remove the newline from arm64 trap panics
Message-ID:  <202108061251.176CpMAm017250@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=9408ee9e88ef7505312d51ea9b431bc0b0bc2b61

commit 9408ee9e88ef7505312d51ea9b431bc0b0bc2b61
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2021-07-14 19:49:58 +0000
Commit:     Andrew Turner <andrew@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);
 	}
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108061251.176CpMAm017250>