aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2021-08-13 00:16:29 +0100
committerDaniel Golle <daniel@makrotopia.org>2021-08-14 16:32:34 +0100
commit6ec859d23155583fc04311aeba72ffacaaac1a3f (patch)
treecb7b9e82690c420d09fd88107d92cab692e978f5 /target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch
parentce2f31254ad6af35c8cba7e71b708e11d8af5249 (diff)
downloadupstream-6ec859d23155583fc04311aeba72ffacaaac1a3f.tar.gz
upstream-6ec859d23155583fc04311aeba72ffacaaac1a3f.tar.bz2
upstream-6ec859d23155583fc04311aeba72ffacaaac1a3f.zip
kernel: bump 5.10 to 5.10.58
No deleted or manually refreshed patches. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Diffstat (limited to 'target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch')
-rw-r--r--target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch b/target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch
index ea5883f037..02f7519f74 100644
--- a/target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch
+++ b/target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch
@@ -1,6 +1,6 @@
--- a/drivers/of/of_net.c
+++ b/drivers/of/of_net.c
-@@ -135,6 +135,26 @@ static int of_get_mac_address_mtd(struct
+@@ -141,6 +141,26 @@ static int of_get_mac_address_mtd(struct
return -EINVAL;
}
@@ -27,7 +27,7 @@
/**
* Search the device tree for the best MAC address to use. 'mac-address' is
-@@ -210,6 +230,7 @@ found:
+@@ -216,6 +236,7 @@ found:
if (!of_property_read_u32(np, "mac-address-increment", &mac_inc))
addr[inc_idx] += mac_inc;