linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fec.c: Fix memory corruption in fec_set_mac_address.
@ 2010-05-02 20:32 Mattias Walstrom
  2010-05-05 20:15 ` Uwe Kleine-König
  0 siblings, 1 reply; 3+ messages in thread
From: Mattias Walstrom @ 2010-05-02 20:32 UTC (permalink / raw)
  To: linux-arm-kernel

Fix memory corruption that may result in kernel panics.

Signed-off-by: Mattias Walstr?m <mattias@vmlinux.org>

fec.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index 9f98c1c..9b4e8f7 100644
--- 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;
 }
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] fec.c: Fix memory corruption in fec_set_mac_address.
  2010-05-02 20:32 [PATCH] fec.c: Fix memory corruption in fec_set_mac_address Mattias Walstrom
@ 2010-05-05 20:15 ` Uwe Kleine-König
  2010-05-06  2:23   ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe Kleine-König @ 2010-05-05 20:15 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Mattias,

On Sun, May 02, 2010 at 10:32:24PM +0200, Mattias Walstrom wrote:
> Fix memory corruption that may result in kernel panics.
> 
> Signed-off-by: Mattias Walstr?m <mattias@vmlinux.org>
> 
You might want to send this to netdev and make sure to keep the diffstat
out of the changelog.

Best regards
Uwe


-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] fec.c: Fix memory corruption in fec_set_mac_address.
  2010-05-05 20:15 ` Uwe Kleine-König
@ 2010-05-06  2:23   ` Baruch Siach
  0 siblings, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2010-05-06  2:23 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Uwe, Mattias,

On Wed, May 05, 2010 at 10:15:14PM +0200, Uwe Kleine-K?nig wrote:
> On Sun, May 02, 2010 at 10:32:24PM +0200, Mattias Walstrom wrote:
> > Fix memory corruption that may result in kernel panics.
> > 
> > Signed-off-by: Mattias Walstr?m <mattias@vmlinux.org>
> > 
> You might want to send this to netdev and make sure to keep the diffstat
> out of the changelog.

This is already applied upstream (7cff0943a).

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-06  2:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-02 20:32 [PATCH] fec.c: Fix memory corruption in fec_set_mac_address Mattias Walstrom
2010-05-05 20:15 ` Uwe Kleine-König
2010-05-06  2:23   ` Baruch Siach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).