summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2012-08-20 18:00:13 +0200
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-09-04 09:39:01 +0300
commitd2f588f9340ed23dfb6cda08b8a1917ef3e8527c (patch)
tree162ea3e7fb652a79cf439f65b791a6287a9e4ce5 /drivers/usb
parent256334c3191af9d9e520082db9beb75ff801d86c (diff)
downloadop-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/usb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud