[U-Boot] [PATCH v2] common: Iteration limit for memory test.

Wolfgang Denk wd at denx.de
Tue Dec 16 11:43:03 CET 2008


Dear Dirk Eibach,

In message <1229419373-5217-1-git-send-email-eibach at gdsys.de> you wrote:
> The iteration limit is passed to mtest as a fourth parameter:
> [start [end [pattern [iterations]]]]
> If no fourth parameter is supplied, there is no iteration limit and the
> test will loop forever.
> 
> Signed-off-by: Dirk Eibach <eibach at gdsys.de>
> ---
> 
>  - Beautified commit message
>  - Whitespace cleanup

Actually a whitespace messup, I'm afraid.

>  #ifdef	CMD_MEM_DEBUG
> -#define	PRINTF(fmt,args...)	printf (fmt ,##args)
> +#define	PRINTF(fmt, args...)	printf(fmt, ##args)

Please do not do this, it causes incompatible behaviour for different
versions of GCC.



More information about the U-Boot mailing list