diff options
Diffstat (limited to 'drivers/net/ethernet/i825xx/eexpress.c')
-rw-r--r-- | drivers/net/ethernet/i825xx/eexpress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/i825xx/eexpress.c b/drivers/net/ethernet/i825xx/eexpress.c index 3a9580f3d4dd..3fc649e54a32 100644 --- a/drivers/net/ethernet/i825xx/eexpress.c +++ b/drivers/net/ethernet/i825xx/eexpress.c | |||
@@ -955,7 +955,7 @@ static void eexp_hw_rx_pio(struct net_device *dev) | |||
955 | { | 955 | { |
956 | struct sk_buff *skb; | 956 | struct sk_buff *skb; |
957 | pkt_len &= 0x3fff; | 957 | pkt_len &= 0x3fff; |
958 | skb = dev_alloc_skb(pkt_len+16); | 958 | skb = netdev_alloc_skb(dev, pkt_len + 16); |
959 | if (skb == NULL) | 959 | if (skb == NULL) |
960 | { | 960 | { |
961 | printk(KERN_WARNING "%s: Memory squeeze, dropping packet\n",dev->name); | 961 | printk(KERN_WARNING "%s: Memory squeeze, dropping packet\n",dev->name); |