[PATCH 3/4] sunxi: board: annotate #endif lines

Samuel Holland samuel at sholland.org
Wed Dec 14 06:49:29 CET 2022


On 12/13/22 18:22, Andre Przywara wrote:
> The legacy Allwinner code is cluttered with #ifdef's, some of them even
> nested, which makes the code hard to read and error prone.
> Eventually we will get rid of most of them, but for now let's at least
> annotate the #endif lines with the corresponding symbol the bracket
> started with.
> 
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
> ---
>  arch/arm/mach-sunxi/board.c       |  8 ++++----
>  arch/arm/mach-sunxi/clock_sun6i.c |  4 ++--
>  board/sunxi/board.c               | 11 +++++------
>  3 files changed, 11 insertions(+), 12 deletions(-)

Reviewed-by: Samuel Holland <samuel at sholland.org>
Tested-by: Samuel Holland <samuel at sholland.org>



More information about the U-Boot mailing list