Re: [U-Boot] [PATCH] mem_mtest: fix error reporting, allow escape with ^C

2009-10-18 Thread Wolfgang Denk
Dear Paul Gortmaker, In message <1254521913-25655-1-git-send-email-paul.gortma...@windriver.com> you wrote: > The basic memtest function tries to watch for ^C after each > pattern pass as an escape mechanism, but if things are horribly > wrong, we'll be stuck in an inner loop flooding the console

Re: [U-Boot] [PATCH] mem_mtest: fix error reporting, allow escape with ^C

2009-10-02 Thread Mike Frysinger
On Friday 02 October 2009 18:18:33 Paul Gortmaker wrote: > The basic memtest function tries to watch for ^C after each > pattern pass as an escape mechanism, but if things are horribly > wrong, we'll be stuck in an inner loop flooding the console with > error messages and never check for ^C. To ma

[U-Boot] [PATCH] mem_mtest: fix error reporting, allow escape with ^C

2009-10-02 Thread Paul Gortmaker
The basic memtest function tries to watch for ^C after each pattern pass as an escape mechanism, but if things are horribly wrong, we'll be stuck in an inner loop flooding the console with error messages and never check for ^C. To make matters worse, if the user waits for all the error messages to

Re: [U-Boot] [PATCH] mem_mtest: fix error reporting, allow escape with ^C

2009-10-01 Thread Paul Gortmaker
Mike Frysinger wrote: > On Thursday 01 October 2009 19:52:27 Paul Gortmaker wrote: >> if (iteration_limit && iterations > iteration_limit) { >> -printf("Tested %d iteration(s) without errors.\n", >> -iterations-1); >> +

Re: [U-Boot] [PATCH] mem_mtest: fix error reporting, allow escape with ^C

2009-10-01 Thread Mike Frysinger
On Thursday 01 October 2009 19:52:27 Paul Gortmaker wrote: > if (iteration_limit && iterations > iteration_limit) { > - printf("Tested %d iteration(s) without errors.\n", > - iterations-1); > + printf("Tested %d itera

[U-Boot] [PATCH] mem_mtest: fix error reporting, allow escape with ^C

2009-10-01 Thread Paul Gortmaker
The basic memtest function tries to watch for ^C after each pattern pass as an escape mechanism, but if things are horribly wrong, we'll be stuck in an inner loop flooding the console with error messages and never check for ^C. To make matters worse, if the user waits for all the error messages to