diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-06-20 15:01:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-21 09:55:54 +0900 |
commit | 6d8b834989f56066499cb25fd7d60169ed5e188b (patch) | |
tree | 27bc1c3828fdc5adfe279bf51d5a48dc5af26544 /drivers/net/ethernet | |
parent | 456488cd952c23d451b0bdc5b5226b0707db80f7 (diff) | |
download | linux-6d8b834989f56066499cb25fd7d60169ed5e188b.tar.bz2 |
r8169: Fix netpoll oops
Pass the correct thing to rtl8169_interrupt() from netpoll.
Cc: Realtek linux nic maintainers <nic_swsd@realtek.com>
Cc: netdev@vger.kernel.org
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Fixes: ebcd5daa7ffd ("r8169: change interrupt handler argument type")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/realtek/r8169.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 75dfac0248f4..f4cae2be0fda 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c @@ -7148,7 +7148,7 @@ static void rtl8169_netpoll(struct net_device *dev) { struct rtl8169_private *tp = netdev_priv(dev); - rtl8169_interrupt(pci_irq_vector(tp->pci_dev, 0), dev); + rtl8169_interrupt(pci_irq_vector(tp->pci_dev, 0), tp); } #endif |