commit | 5c25aee5364550d7fa6314886370e76cda18d7e2 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andy.shevchenko@gmail.com> | Wed Sep 01 09:26:46 2010 +0300 |
committer | Chris Ball <cjb@laptop.org> | Sat Oct 23 21:11:12 2010 +0800 |
tree | 7eec5d54621c77cfbff0f1fd9ed961a3b95a3631 | |
parent | 63be54cefa3ae58e1e82036945e3c27f941f5a0d [diff] |
mmc_test: change simple_strtol() to strict_strtol() It's better to use strict_strtol() to convert user's input and strictly check it. At least it forbids to interpret wrong input as a 0 and prevents to run all tests. Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com> Cc: <linux-mmc@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Chris Ball <cjb@laptop.org>