aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2020-07-22 22:51:14 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2020-07-22 22:51:14 +0000
commita1119d08b9ba9acbc64864c1ede1424046f1e68c (patch)
tree4f0bb3ff42e5ac7d2cddf8c448bd2ac816834860
parentd90b364147877f0fff25e98ec76d5042bd283c21 (diff)
downloadsrc-a1119d08b9ba9acbc64864c1ede1424046f1e68c.tar.gz
src-a1119d08b9ba9acbc64864c1ede1424046f1e68c.zip
Add missing space after switch.
Reviewed by: br, emaste Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D25778
Notes
Notes: svn path=/head/; revision=363436
-rw-r--r--sys/arm64/arm64/trap.c4
-rw-r--r--sys/riscv/riscv/trap.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arm64/arm64/trap.c b/sys/arm64/arm64/trap.c
index 4e5f9e32b804..f56ce3e81877 100644
--- a/sys/arm64/arm64/trap.c
+++ b/sys/arm64/arm64/trap.c
@@ -341,7 +341,7 @@ do_el1h_sync(struct thread *td, struct trapframe *frame)
break;
}
- switch(exception) {
+ switch (exception) {
case EXCP_FP_SIMD:
case EXCP_TRAP_FP:
#ifdef VFP
@@ -452,7 +452,7 @@ do_el0_sync(struct thread *td, struct trapframe *frame)
"do_el0_sync: curthread: %p, esr %lx, elr: %lx, frame: %p", td, esr,
frame->tf_elr, frame);
- switch(exception) {
+ switch (exception) {
case EXCP_FP_SIMD:
case EXCP_TRAP_FP:
#ifdef VFP
diff --git a/sys/riscv/riscv/trap.c b/sys/riscv/riscv/trap.c
index 6f9fa17f8f17..c9b6a1ea6f47 100644
--- a/sys/riscv/riscv/trap.c
+++ b/sys/riscv/riscv/trap.c
@@ -269,7 +269,7 @@ do_trap_supervisor(struct trapframe *frame)
CTR3(KTR_TRAP, "do_trap_supervisor: curthread: %p, sepc: %lx, frame: %p",
curthread, frame->tf_sepc, frame);
- switch(exception) {
+ switch (exception) {
case EXCP_FAULT_LOAD:
case EXCP_FAULT_STORE:
case EXCP_FAULT_FETCH:
@@ -326,7 +326,7 @@ do_trap_user(struct trapframe *frame)
CTR3(KTR_TRAP, "do_trap_user: curthread: %p, sepc: %lx, frame: %p",
curthread, frame->tf_sepc, frame);
- switch(exception) {
+ switch (exception) {
case EXCP_FAULT_LOAD:
case EXCP_FAULT_STORE:
case EXCP_FAULT_FETCH: