FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 05-04-2010, 04:16 PM
Tim Gardner
 
Default Fwd: FEC: Fix kernel panic in fec_set_mac_address.

Bryan - this looks like a bonafide bug (forwarded from LKML)

-------- Original Message --------
Subject: [PATCH] FEC: Fix kernel panic in fec_set_mac_address.
Date: Tue, 04 May 2010 16:16:30 +0200
From: Mattias Walstrom <mattias@vmlinux.org>
To: netdev@vger.kernel.org

Fix memory corruption that sometimes result in kernel panic.

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;
}




--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 05-05-2010, 03:28 AM
Bryan Wu
 
Default Fwd: FEC: Fix kernel panic in fec_set_mac_address.

On 05/05/2010 12:16 AM, Tim Gardner wrote:
> Bryan - this looks like a bonafide bug (forwarded from LKML)
>

Tim, thanks. I will file a launchpad bug firstly and ask mobile guys to verify
this, since I don't have fsl-imx51 hardware now.

-Bryan

> -------- Original Message --------
> Subject: [PATCH] FEC: Fix kernel panic in fec_set_mac_address.
> Date: Tue, 04 May 2010 16:16:30 +0200
> From: Mattias Walstrom <mattias@vmlinux.org>
> To: netdev@vger.kernel.org
>
> Fix memory corruption that sometimes result in kernel panic.
>
> 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;
> }
>
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>



--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 09:56 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org