From 72a6c7669e7724e53da5d82272c205f014d7b0f1 Mon Sep 17 00:00:00 2001 From: blogic Date: Sat, 27 Jul 2013 09:23:18 +0000 Subject: strict_strtoul is obsolete, use kstrtoul instead based on http://patchwork.openwrt.org/patch/3827/ Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37562 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic/files/drivers/net/phy/rtl8366_smi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/generic/files') 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); -- cgit v1.2.3