mmc_test: change simple_strtol() to strict_strtol()
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Wed, 1 Sep 2010 06:26:46 +0000 (09:26 +0300)
committerChris Ball <cjb@laptop.org>
Sat, 23 Oct 2010 13:11:12 +0000 (21:11 +0800)
commit5c25aee5364550d7fa6314886370e76cda18d7e2
tree7eec5d54621c77cfbff0f1fd9ed961a3b95a3631
parent63be54cefa3ae58e1e82036945e3c27f941f5a0d
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>
drivers/mmc/card/mmc_test.c