Commit 7f376b98 authored by Choi, David's avatar Choi, David Committed by Greg Kroah-Hartman

drivers/net: ks8851_mll ethernet network driver

[ Upstream commit aeedba8b ]

Hello David Miller,

I fix a bug in ks8851_mll driver, which has existed since 2.6.32-rc6.

>From : David J. Choi <david.choi@micrel.com>

Fix a bug that the data pointers in the interrupt handler are set wrong, which is related with the 5th parameter of request_irq().
Signed-off-by: default avatarDavid J. Choi <david.choi@micrel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c191a795
...@@ -854,8 +854,8 @@ static void ks_update_link_status(struct net_device *netdev, struct ks_net *ks) ...@@ -854,8 +854,8 @@ static void ks_update_link_status(struct net_device *netdev, struct ks_net *ks)
static irqreturn_t ks_irq(int irq, void *pw) static irqreturn_t ks_irq(int irq, void *pw)
{ {
struct ks_net *ks = pw; struct net_device *netdev = pw;
struct net_device *netdev = ks->netdev; struct ks_net *ks = netdev_priv(netdev);
u16 status; u16 status;
/*this should be the first in IRQ handler */ /*this should be the first in IRQ handler */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment