aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.15/682-of_net-add-mac-address-increment-support.patch
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2021-11-05 00:48:27 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-03-27 00:07:34 +0000
commit483503603cb210919088294051e6d27de1f03718 (patch)
treedca6df4d449c46344976d6bea10435678ac61b75 /target/linux/generic/pending-5.15/682-of_net-add-mac-address-increment-support.patch
parent1f302afd7350f46ec0fcc4b12b0ad59ac92fe5b6 (diff)
downloadupstream-483503603cb210919088294051e6d27de1f03718.tar.gz
upstream-483503603cb210919088294051e6d27de1f03718.tar.bz2
upstream-483503603cb210919088294051e6d27de1f03718.zip
generic: 5.15: rework pending patch
Rework pending patch for kernel 5.15 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux/generic/pending-5.15/682-of_net-add-mac-address-increment-support.patch')
-rw-r--r--target/linux/generic/pending-5.15/682-of_net-add-mac-address-increment-support.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/pending-5.15/682-of_net-add-mac-address-increment-support.patch b/target/linux/generic/pending-5.15/682-of_net-add-mac-address-increment-support.patch
index 82e81f37c5..2753c76d54 100644
--- a/target/linux/generic/pending-5.15/682-of_net-add-mac-address-increment-support.patch
+++ b/target/linux/generic/pending-5.15/682-of_net-add-mac-address-increment-support.patch
@@ -15,11 +15,11 @@ early has to be increased.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
---
- drivers/of/of_net.c | 43 +++++++++++++++++++++++++++++++++++++++----
+ net/core/of_net.c | 43 +++++++++++++++++++++++++++++++++++++++----
1 file changed, 39 insertions(+), 4 deletions(-)
---- a/drivers/of/of_net.c
-+++ b/drivers/of/of_net.c
+--- a/net/core/of_net.c
++++ b/net/core/of_net.c
@@ -115,27 +115,62 @@ static int of_get_mac_addr_nvmem(struct
* this case, the real MAC is in 'local-mac-address', and 'mac-address' exists
* but is all zeros.