Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2020 22:51:14 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r363436 - in head/sys: arm64/arm64 riscv/riscv
Message-ID:  <202007222251.06MMpEdF027410@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Wed Jul 22 22:51:14 2020
New Revision: 363436
URL: https://svnweb.freebsd.org/changeset/base/363436

Log:
  Add missing space after switch.
  
  Reviewed by:	br, emaste
  Sponsored by:	DARPA
  Differential Revision:	https://reviews.freebsd.org/D25778

Modified:
  head/sys/arm64/arm64/trap.c
  head/sys/riscv/riscv/trap.c

Modified: head/sys/arm64/arm64/trap.c
==============================================================================
--- head/sys/arm64/arm64/trap.c	Wed Jul 22 21:44:51 2020	(r363435)
+++ head/sys/arm64/arm64/trap.c	Wed Jul 22 22:51:14 2020	(r363436)
@@ -341,7 +341,7 @@ do_el1h_sync(struct thread *td, struct trapframe *fram
 		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

Modified: head/sys/riscv/riscv/trap.c
==============================================================================
--- head/sys/riscv/riscv/trap.c	Wed Jul 22 21:44:51 2020	(r363435)
+++ head/sys/riscv/riscv/trap.c	Wed Jul 22 22:51:14 2020	(r363436)
@@ -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:



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