Skip to contentSkip to conversation

replace strict_strto call with kstrto

PATCH In review Daniel Walter 1 participant 1 message Jun 21, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 2/9 replace strict_strto call with kstrto

Replace obsolete call to strict_strto with kstrto

---
 arch/arm/mach-pxa/balloon3.c | 2 +-
 arch/arm/mach-pxa/viper.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-pxa/balloon3.c +1 -1
index 43596e0..d897292 100644
@@ -90,7 +90,7 @@ int __init parse_balloon3_features(char *arg)
 	if (!arg)
 		return 0;
 
-	return strict_strtoul(arg, 0, &balloon3_features_present);
+	return kstrtoul(arg, 0, &balloon3_features_present);
 }
 early_param("balloon3_features", parse_balloon3_features);
 
arch/arm/mach-pxa/viper.c +1 -1
index 41f27f6..de3b080 100644
@@ -769,7 +769,7 @@ static unsigned long viper_tpm;
 
 static int __init viper_tpm_setup(char *str)
 {
-	return strict_strtoul(str, 10, &viper_tpm) >= 0;
+	return kstrtoul(str, 10, &viper_tpm) >= 0;
 }
 
 __setup("tpm=", viper_tpm_setup);
Signature · 1 line
2.0.0.526.g5318336