replace strict_strto* call with kstrto*
remove obsolete calls to strict_strto* and replace them with kstrto* calls accordingly. Signed-off-by: Daniel Walter <dwalter@google.com> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
This commit is contained in:

committed by
Chris Metcalf

parent
ba159fd387
commit
b2dfa048ba
@@ -912,7 +912,7 @@ static long __write_once initfree = 1;
|
||||
static int __init set_initfree(char *str)
|
||||
{
|
||||
long val;
|
||||
if (strict_strtol(str, 0, &val) == 0) {
|
||||
if (kstrtol(str, 0, &val) == 0) {
|
||||
initfree = val;
|
||||
pr_info("initfree: %s free init pages\n",
|
||||
initfree ? "will" : "won't");
|
||||
|
Reference in New Issue
Block a user