Skip to content
Commit 7827e3ac authored by Dongsheng Yang's avatar Dongsheng Yang Committed by Brian Norris
Browse files

mtd: mtdram: check offs and len in mtdram->erase



We should prevent user to erasing mtd device with
an unaligned offset or length.

Signed-off-by: default avatarDongsheng Yang <yangds.fnst@cn.fujitsu.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 8a799590
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment