FEC: Fix kernel panic in fec_set_mac_address.
Subsystems (2)
PATCH 1/1 FEC: Fix kernel panic in fec_set_mac_address.
Fix memory corruption that sometimes result in kernel panic.
Signed-off-by Mattias Walström <[email protected]>
fec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/fec.c +1 -1
@@ -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 ; }
From: Mattias Walstrom <[email protected]>
Date: Tue, 04 May 2010 16:16:30 +0200
Quoted 3 lines
Fix memory corruption that sometimes result in kernel panic.
Signed-off-by Mattias Walström <[email protected]>
Applied, thank you.