[U-Boot] [PATCH] Small coding style fix in lib/asm-offsets.c

Michal Simek monstr at monstr.eu
Mon Jan 10 16:56:30 CET 2011


Stefan Roese wrote:
> Signed-off-by: Stefan Roese <sr at denx.de>

Thanks Stefan.

Acked-by: Michal Simek <monstr at monstr.eu>

Michal

> ---
>  lib/asm-offsets.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/asm-offsets.c b/lib/asm-offsets.c
> index 6f253a6..c88f5d4 100644
> --- a/lib/asm-offsets.c
> +++ b/lib/asm-offsets.c
> @@ -23,10 +23,10 @@ int main(void)
>  {
>  	/* Round up to make sure size gives nice stack alignment */
>  	DEFINE(GENERATED_GBL_DATA_SIZE,
> -		(sizeof(struct global_data)+15) & ~15);
> +		(sizeof(struct global_data) + 15) & ~15);
>  
>  	DEFINE(GENERATED_BD_INFO_SIZE,
> -		(sizeof(struct bd_info)+15) & ~15);
> +		(sizeof(struct bd_info) + 15) & ~15);
>  
>  	return 0;
>  }


-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian


More information about the U-Boot mailing list