commit | d2f588f9340ed23dfb6cda08b8a1917ef3e8527c | [log] [tgz] |
---|---|---|
author | Richard Genoud <richard.genoud@gmail.com> | Mon Aug 20 18:00:13 2012 +0200 |
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Tue Sep 04 09:39:01 2012 +0300 |
tree | 162ea3e7fb652a79cf439f65b791a6287a9e4ce5 | |
parent | 256334c3191af9d9e520082db9beb75ff801d86c [diff] |
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>