Re: [PATCH] mtd: mtdram: check offs and len in mtdram->erase

From: Dongsheng Yang
Date: Fri Oct 02 2015 - 23:38:20 EST


On 10/03/2015 01:38 AM, Brian Norris wrote:
On Fri, Oct 02, 2015 at 03:31:33PM +0530, Sudip Mukherjee wrote:
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 <sudip@xxxxxxxxxxxxxxx>
---

I am not sure if I should add the Signed-off-by of
Dongsheng Yang <yangds.fnst@xxxxxxxxxxxxxx> . 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.

Sorry if I left any confusion. Dongsheng's v1 was applied and reverted.
v2 is still under review (and was sent slightly before (?) your v1).

Yea, sorry I should have mentioned it earlier. But I was and am still
in a vacation, then I did not point it out in time.

Sudip, any comment or test for my patch there is always welcome.

Thanx
Yang
Feel free to comment there.

Brian
.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/