From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZhxA8-0000an-Fo for linux-mtd@lists.infradead.org; Fri, 02 Oct 2015 10:02:01 +0000 Received: by pablk4 with SMTP id lk4so102476812pab.3 for ; Fri, 02 Oct 2015 03:01:39 -0700 (PDT) Date: Fri, 2 Oct 2015 15:31:33 +0530 From: Sudip Mukherjee To: Dongsheng Yang Cc: David Woodhouse , Brian Norris , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org Subject: Re: [PATCH] mtd: mtdram: check offs and len in mtdram->erase Message-ID: <20151002100133.GC9346@sudip-pc> References: <1443631303-22057-1-git-send-email-sudipm.mukherjee@gmail.com> <560E50B6.5060103@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <560E50B6.5060103@cn.fujitsu.com> List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Oct 02, 2015 at 05:39:02PM +0800, Dongsheng Yang wrote: > On 10/01/2015 12:41 AM, Sudip Mukherjee wrote: > >We should prevent user to erasing mtd device with an unaligned offset > >or length. > > > >Signed-off-by: Sudip Mukherjee > >--- > > > >I am not sure if I should add the Signed-off-by of > >Dongsheng Yang . He is the original author > >and he should get the credit for that. > > But I had sent a a patch out to fix this problem before your v1. > > http://lists.infradead.org/pipermail/linux-mtd/2015-September/062234.html I didn't know that. I think your v1 was applied. regards sudip