diff options
author | Richard Genoud <richard.genoud@gmail.com> | 2012-08-20 18:00:13 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-09-04 09:39:01 +0300 |
commit | d2f588f9340ed23dfb6cda08b8a1917ef3e8527c (patch) | |
tree | 162ea3e7fb652a79cf439f65b791a6287a9e4ce5 /drivers/block/xd.h | |
parent | 256334c3191af9d9e520082db9beb75ff801d86c (diff) | |
download | op-kernel-dev-d2f588f9340ed23dfb6cda08b8a1917ef3e8527c.zip op-kernel-dev-d2f588f9340ed23dfb6cda08b8a1917ef3e8527c.tar.gz |
UBI: check max_beb_per1024 value in ubi_attach_mtd_dev
max_beb_per1024 shouldn't be negative, and a 0 value will be treated as
the default value. For the upper bound, 768/1024 should be enough.
Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/block/xd.h')
0 files changed, 0 insertions, 0 deletions