projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strict_strtoul is obsolete, use kstrtoul instead
[openwrt/staging/chunkeey.git]
/
target
/
linux
/
generic
/
files
/
drivers
/
net
/
phy
/
rtl8366_smi.c
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 e2b4f02efaad11a2c627deb1fb671112bd5bdd4a..699234d22dad97091d3e465e99e2cb74a408d776 100644
(file)
--- 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 (
k
strtoul(buf, 16, &data)) {
dev_err(smi->parent, "Invalid reg value %s\n", buf);
} else {
err = rtl8366_smi_write_reg(smi, reg, data);