Skip to content

Commit 24a7c10

Browse files
nathanchancegregkh
authored andcommitted
powerpc/44x: Adjust indentation in ibm4xx_denali_fixup_memsize
commit c3aae14 upstream. Clang warns: ../arch/powerpc/boot/4xx.c:231:3: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] val = SDRAM0_READ(DDR0_42); ^ ../arch/powerpc/boot/4xx.c:227:2: note: previous statement is here else ^ This is because there is a space at the beginning of this line; remove it so that the indentation is consistent according to the Linux kernel coding style and clang no longer warns. Fixes: d23f509 ("[POWERPC] 4xx: Adds decoding of 440SPE memory size to boot wrapper library") Signed-off-by: Nathan Chancellor <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: ClangBuiltLinux/linux#780 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 4d59b65 commit 24a7c10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/boot/4xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ void ibm4xx_denali_fixup_memsize(void)
232232
dpath = 8; /* 64 bits */
233233

234234
/* get address pins (rows) */
235-
val = SDRAM0_READ(DDR0_42);
235+
val = SDRAM0_READ(DDR0_42);
236236

237237
row = DDR_GET_VAL(val, DDR_APIN, DDR_APIN_SHIFT);
238238
if (row > max_row)

0 commit comments

Comments
 (0)