Commit 8dbc33dc authored by Heiko Carstens's avatar Heiko Carstens Committed by Vasily Gorbik
Browse files

s390/mm,fault: have balanced braces, remove unnecessary blanks



Remove unnecessary braces and also blanks after casts.
Add braces to have balanced braces where missing.

Reviewed-by: default avatarClaudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent 760f6511
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -91,9 +91,8 @@ static enum fault_type get_fault_type(struct pt_regs *regs)
	if (trans_exc_code == 2)
		return USER_FAULT;
	/* Access register mode, not used in the kernel */
	if (trans_exc_code == 1) {
	if (trans_exc_code == 1)
		return USER_FAULT;
	}
	/* Home space -> access via kernel ASCE */
	return KERNEL_FAULT;
}
@@ -327,8 +326,9 @@ static noinline void do_fault_error(struct pt_regs *regs, vm_fault_t fault)
				do_no_context(regs, fault);
			else
				do_sigbus(regs);
		} else
		} else {
			BUG();
		}
		break;
	}
}