forked from Ivasoft/openwrt
strict_strtoul is obsolete, use kstrtoul instead
based on http://patchwork.openwrt.org/patch/3827/ Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37562
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user