From: Richard Genoud Date: Mon, 20 Aug 2012 16:00:13 +0000 (+0200) Subject: UBI: check max_beb_per1024 value in ubi_attach_mtd_dev X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~33^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2f588f9340ed23dfb6cda08b8a1917ef3e8527c;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed