Skip to contentSkip to conversation

firmware: google: replace strict_strtoul() with kstrtoul()

PATCH New Jingoo Han 1 participant 1 message Jul 19, 2013

lore
Share & tools
lore

Jingoo Han

author
#0 lore raw

PATCH 1/1 firmware: google: replace strict_strtoul() with kstrtoul()

The usage of strict_strtoul() is not preferred, because strict_strtoul() is obsolete. Thus, kstrtoul() should be used.

---
 drivers/firmware/google/gsmi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/firmware/google/gsmi.c +1 -1
index acba0b9..6eb535f 100644
@@ -525,7 +525,7 @@ static ssize_t gsmi_clear_eventlog_store(struct kobject *kobj,
 		u32 data_type;
 	} param;
 
-	rc = strict_strtoul(buf, 0, &val);
+	rc = kstrtoul(buf, 0, &val);
 	if (rc)
 		return rc;
 
Signature · 1 line
1.7.10.4