kernel/params: fix handling of signed integer types
authorJean Delvare <khali@linux-fr.org>
Fri, 27 Sep 2013 20:17:39 +0000 (13:17 -0700)
committerMaciej Wereski <m.wereski@partner.samsung.com>
Fri, 17 Apr 2015 14:29:53 +0000 (16:29 +0200)
commit2c46ef3e3bfcf399ce3306e21a82e683751134ab
treee1aecd4e0b59b8290e0590bed8fa1faaf7b7afc3
parent3032c0fb48196e573f8438ab7948d598cdb58b32
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