Skip to contentSkip to conversation

replace strict_strto* with kstrto*

PATCH Superseded Daniel Walter 1 participant 1 message Jun 3, 2014

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 3/11 replace strict_strto* with kstrto*

From: Daniel Walter <[email protected]>
Subject: [PATCH v2 03/11] [arch/arm/mach-s3c24xx] 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 5faa723..a4024c2 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
1.9.3