projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f935aa9
)
FEC: Fix kernel panic in fec_set_mac_address.
author
Mattias Walström
<mattias@vmlinux.org>
Wed, 5 May 2010 07:55:48 +0000
(
00:55
-0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 5 May 2010 07:55:48 +0000
(
00:55
-0700)
Fix memory corruption that sometimes result in kernel panic.
Signed-off-by: Mattias Walström <mattias@vmlinux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fec.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/fec.c
b/drivers/net/fec.c
index 9f98c1c4a344e21cc558e090ee3e2be313ccd8c5..9b4e8f797a7ad76d7ae8c36b8efe5d08a94f530d 100644
(file)
--- a/
drivers/net/fec.c
+++ b/
drivers/net/fec.c
@@
-1653,7
+1653,7
@@
fec_set_mac_address(struct net_device *dev, void *p)
(dev->dev_addr[1] << 16) | (dev->dev_addr[0] << 24),
fep->hwp + FEC_ADDR_LOW);
writel((dev->dev_addr[5] << 16) | (dev->dev_addr[4] << 24),
- fep + FEC_ADDR_HIGH);
+ fep
->hwp
+ FEC_ADDR_HIGH);
return 0;
}