[PATCH 1/2] memtest: skip memory region smaller than one page

Sascha Hauer s.hauer at pengutronix.de
Tue Jun 16 06:59:17 PDT 2015


On Mon, Jun 15, 2015 at 10:35:41AM +0100, Renaud Barbier wrote:
> If the size between memory regions is smaller than one page, the
> size is rounded down to 0. This results in a region request failure.
> This commit skips the memory region whose size is smaller than a page.
> 
> Signed-off-by: Renaud Barbier <renaud.barbier at ge.com>
> ---
>  commands/memtest.c |   12 ++++++++----
>  1 files changed, 8 insertions(+), 4 deletions(-)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list