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 <yuchenhe126@gmail.com>
Change-Id: I894d6efd5673e9ad5f166ae59967a8d4bb42fb06
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72484
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Yuchen He 2023-01-28 00:03:31 +01:00 committed by Felix Singer
parent 5aed1a0d72
commit 5e7dc21c91
1 changed files with 2 additions and 2 deletions

View File

@ -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) {