aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.4/682-of_net-add-mac-address-increment-support.patch
diff options
context:
space:
mode:
authorJohn Audia <graysky@archlinux.us>2021-07-19 05:17:10 -0400
committerHauke Mehrtens <hauke@hauke-m.de>2021-07-25 13:52:38 +0200
commit5408e811b29643e3fd5f2cd227f17263daa45a74 (patch)
treec41b5db75482b8a16c092183206a60c13b2e1173 /target/linux/generic/pending-5.4/682-of_net-add-mac-address-increment-support.patch
parent2b2ac841e022054ff3390f25fa41336467530a91 (diff)
downloadupstream-5408e811b29643e3fd5f2cd227f17263daa45a74.tar.gz
upstream-5408e811b29643e3fd5f2cd227f17263daa45a74.tar.bz2
upstream-5408e811b29643e3fd5f2cd227f17263daa45a74.zip
kernel: bump 5.4 to 5.4.133
Manually rebased: pending-5.4/690-net-add-support-for-threaded-NAPI-polling.patch All other patches automatically rebased. Build system: x86_64 Build-tested: ipq806x/R7800 Run-tested: ipq806x/R7800 No dmesg regressions, everything functional Signed-off-by: John Audia <graysky@archlinux.us>
Diffstat (limited to 'target/linux/generic/pending-5.4/682-of_net-add-mac-address-increment-support.patch')
-rw-r--r--target/linux/generic/pending-5.4/682-of_net-add-mac-address-increment-support.patch9
1 files changed, 2 insertions, 7 deletions
diff --git a/target/linux/generic/pending-5.4/682-of_net-add-mac-address-increment-support.patch b/target/linux/generic/pending-5.4/682-of_net-add-mac-address-increment-support.patch
index 1c08e23699..81f946ff7f 100644
--- a/target/linux/generic/pending-5.4/682-of_net-add-mac-address-increment-support.patch
+++ b/target/linux/generic/pending-5.4/682-of_net-add-mac-address-increment-support.patch
@@ -18,11 +18,9 @@ Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
drivers/of/of_net.c | 59 ++++++++++++++++++++++++++++++++++-----------
1 file changed, 45 insertions(+), 14 deletions(-)
-diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c
-index f072e2509cc9..0dbd1f7ef396 100644
--- a/drivers/of/of_net.c
+++ b/drivers/of/of_net.c
-@@ -55,31 +55,36 @@ static void *of_get_mac_addr(struct device_node *np, const char *name)
+@@ -49,31 +49,36 @@ static void *of_get_mac_addr(struct devi
return NULL;
}
@@ -67,7 +65,7 @@ index f072e2509cc9..0dbd1f7ef396 100644
{
#ifdef CONFIG_MTD
struct device_node *mtd_np = NULL;
-@@ -167,28 +172,54 @@ static const void *of_get_mac_address_mtd(struct device_node *np)
+@@ -161,28 +166,54 @@ free:
* If a mtd-mac-address property exists, try to fetch the MAC address from the
* specified mtd device, and store it as a 'mac-address' property
*
@@ -128,6 +126,3 @@ index f072e2509cc9..0dbd1f7ef396 100644
+ return addr;
}
EXPORT_SYMBOL(of_get_mac_address);
---
-2.30.2
-