On Fri, 17 Mar 2017 10:29:39 +0800
chenwy wrote:
> We should prevent user to operating mtd device with
> an illegal offset or length.
I realize that all the tests you do here are already done in mtdcore.c.
If one is missing, please patch mtdcore.c instead.
Thanks,
Boris
>
> Signed-off-by: Ch
We should prevent user to operating mtd device with
an illegal offset or length.
Signed-off-by: Chen Wenyong
---
drivers/mtd/devices/mtdram.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/mtd/devices/mtdram.c b/drivers/mtd/devices/mtdram.c
index cbd8547..83e1603 1
2 matches
Mail list logo