kernel/params: fix handling of signed integer types
commit3a126f85e015701e56240884f27f97543580d5f7
authorJean Delvare <khali@linux-fr.org>
Fri, 27 Sep 2013 20:17:39 +0000 (27 13:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 28 Sep 2013 19:35:52 +0000 (28 12:35 -0700)
tree89078be20b25ed65333f95db110eda55b45bb030
parentf2e98aa830262042c8c584ca85b4c383af1e8db9
kernel/params: fix handling of signed integer types

Commit 6072ddc8520b ("kernel: replace strict_strto*() with kstrto*()")
broke the handling of signed integer types, fix it.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Reported-by: Christian Kujau <lists@nerdbynature.de>
Tested-by: Christian Kujau <lists@nerdbynature.de>
Cc: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/params.c