Skip to contentSkip to conversation

replace strict_strto* with kstrto*

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

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

PATCH 3/9 replace strict_strto* with kstrto*

Replace obsolete strict_strto call with kstrto

---
 arch/arm/mach-s3c24xx/mach-jive.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-s3c24xx/mach-jive.c +1 -1
index e81ea82..bac9bb5 100644
@@ -243,7 +243,7 @@ static int __init jive_mtdset(char *options)
 	if (options == NULL || options[0] == '\0')
 		return 0;
 
-	if (strict_strtoul(options, 10, &set)) {
+	if (kstrtoul(options, 10, &set)) {
 		printk(KERN_ERR "failed to parse mtdset=%s\n", options);
 		return 0;
 	}
Signature · 1 line
2.0.0.526.g5318336