aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-07-27 09:23:18 +0000
committerJohn Crispin <blogic@openwrt.org>2013-07-27 09:23:18 +0000
commit023ed9c87c741742095b291a06b5862c57b24ff6 (patch)
treefdbce23ccf144c0572aba6ffa7a39415945abece /target/linux/generic/files
parent27b62a86298b68b6777fa73cbac9a46e3b6d6599 (diff)
downloadmaster-187ad058-023ed9c87c741742095b291a06b5862c57b24ff6.tar.gz
master-187ad058-023ed9c87c741742095b291a06b5862c57b24ff6.tar.bz2
master-187ad058-023ed9c87c741742095b291a06b5862c57b24ff6.zip
strict_strtoul is obsolete, use kstrtoul instead
based on http://patchwork.openwrt.org/patch/3827/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37562 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r--target/linux/generic/files/drivers/net/phy/rtl8366_smi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
index e2b4f02efa..699234d22d 100644
--- a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
+++ b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
@@ -743,7 +743,7 @@ static ssize_t rtl8366_write_debugfs_reg(struct file *file,
buf[len - 1] = '\0';
- if (strict_strtoul(buf, 16, &data)) {
+ if (kstrtoul(buf, 16, &data)) {
dev_err(smi->parent, "Invalid reg value %s\n", buf);
} else {
err = rtl8366_smi_write_reg(smi, reg, data);