From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aY6uA-0006mT-JS for barebox@lists.infradead.org; Tue, 23 Feb 2016 06:57:07 +0000 Date: Tue, 23 Feb 2016 07:56:44 +0100 From: Sascha Hauer Message-ID: <20160223065644.GR3939@pengutronix.de> References: <1455530484-17750-1-git-send-email-s.christ@phytec.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1455530484-17750-1-git-send-email-s.christ@phytec.de> 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] mtd: core: check offset in mtd_block_markbad To: Stefan Christ Cc: barebox@lists.infradead.org On Mon, Feb 15, 2016 at 11:01:24AM +0100, Stefan Christ wrote: > Check if the given offset is valid for the mtd device. Print an error > message if not to inform the user in the command 'nand'. > > Signed-off-by: Stefan Christ > --- > commands/nand.c | 9 +++++++-- > drivers/mtd/core.c | 3 +++ > 2 files changed, 10 insertions(+), 2 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