]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/44x: Adjust indentation in ibm4xx_denali_fixup_memsize
authorNathan Chancellor <natechancellor@gmail.com>
Mon, 9 Dec 2019 20:03:38 +0000 (13:03 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 6 Jan 2020 05:25:27 +0000 (16:25 +1100)
commit2e09a0862c71cc083f1b693bd39075a1e01a4251
tree1dac11afc68dfcbcb51a3450125fc77317700949
parent54ce8e628c129aac40ae53eada4aac4e8dda3869
powerpc/44x: Adjust indentation in ibm4xx_denali_fixup_memsize

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: 79ccaac7276b ("[POWERPC] 4xx: Adds decoding of 440SPE memory size to boot wrapper library")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://github.com/ClangBuiltLinux/linux/issues/780
Link: https://lore.kernel.org/r/20191209200338.12546-1-natechancellor@gmail.com
arch/powerpc/boot/4xx.c