lkml.org 
[lkml]   [2010]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[044/145] drivers/net: ks8851_mll ethernet network driver
    2.6.32-stable review patch.  If anyone has any objections, please let me know.

    ----------------
    From: Choi, David <David.Choi@Micrel.Com>

    [ Upstream commit aeedba8bd2cf2f6f7b45bc7853754a03bc926797 ]

    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: David J. Choi <david.choi@micrel.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/net/ks8851_mll.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    --- a/drivers/net/ks8851_mll.c
    +++ b/drivers/net/ks8851_mll.c
    @@ -854,8 +854,8 @@ static void ks_update_link_status(struct

    static irqreturn_t ks_irq(int irq, void *pw)
    {
    - struct ks_net *ks = pw;
    - struct net_device *netdev = ks->netdev;
    + struct net_device *netdev = pw;
    + struct ks_net *ks = netdev_priv(netdev);
    u16 status;

    /*this should be the first in IRQ handler */



    \
     
     \ /
      Last update: 2010-03-13 01:45    [W:4.632 / U:0.276 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site