From 5e7dc21c910ac0960e203044d1c513d50d27094b Mon Sep 17 00:00:00 2001 From: Yuchen He Date: Sat, 28 Jan 2023 00:03:31 +0100 Subject: arch/arm64/armv8/mmu.c: Add a space before the ternary operator Coding style requires a space before the question mark in ternary operators. Fix that. Found by the linter. Signed-off-by: Yuchen He Change-Id: I894d6efd5673e9ad5f166ae59967a8d4bb42fb06 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72484 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- src/arch/arm64/armv8/mmu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/arm64') diff --git a/src/arch/arm64/armv8/mmu.c b/src/arch/arm64/armv8/mmu.c index 72e5ccab52..61ca49ff2c 100644 --- a/src/arch/arm64/armv8/mmu.c +++ b/src/arch/arm64/armv8/mmu.c @@ -35,8 +35,8 @@ static uint64_t get_block_attr(unsigned long tag) { uint64_t attr; - attr = (tag & MA_NS)? BLOCK_NS : 0; - attr |= (tag & MA_RO)? BLOCK_AP_RO : BLOCK_AP_RW; + attr = (tag & MA_NS) ? BLOCK_NS : 0; + attr |= (tag & MA_RO) ? BLOCK_AP_RO : BLOCK_AP_RW; attr |= BLOCK_ACCESS; if (tag & MA_MEM) { -- cgit v1.2.3