diff options
author | Richard Genoud <richard.genoud@gmail.com> | 2012-08-20 20:00:13 +0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-09-04 10:39:01 +0400 |
commit | d2f588f9340ed23dfb6cda08b8a1917ef3e8527c (patch) | |
tree | 162ea3e7fb652a79cf439f65b791a6287a9e4ce5 /drivers/mtd/ubi/Kconfig | |
parent | 256334c3191af9d9e520082db9beb75ff801d86c (diff) | |
download | linux-d2f588f9340ed23dfb6cda08b8a1917ef3e8527c.tar.xz |
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/mtd/ubi/Kconfig')
0 files changed, 0 insertions, 0 deletions