From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z4rOw-0000r4-Fs for barebox@lists.infradead.org; Tue, 16 Jun 2015 13:59:44 +0000 Date: Tue, 16 Jun 2015 15:59:17 +0200 From: Sascha Hauer Message-ID: <20150616135917.GU6325@pengutronix.de> References: <1434360941-22892-1-git-send-email-renaud.barbier@ge.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1434360941-22892-1-git-send-email-renaud.barbier@ge.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 1/2] memtest: skip memory region smaller than one page To: Renaud Barbier Cc: barebox@lists.infradead.org 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 > --- > 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 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox