diff options
Diffstat (limited to 'drivers/net/ethernet/fujitsu/eth16i.c')
-rw-r--r-- | drivers/net/ethernet/fujitsu/eth16i.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/fujitsu/eth16i.c b/drivers/net/ethernet/fujitsu/eth16i.c index b0e2313af3d1..c3f0178fb5cb 100644 --- a/drivers/net/ethernet/fujitsu/eth16i.c +++ b/drivers/net/ethernet/fujitsu/eth16i.c | |||
@@ -1164,7 +1164,7 @@ static void eth16i_rx(struct net_device *dev) | |||
1164 | else { /* Ok so now we should have a good packet */ | 1164 | else { /* Ok so now we should have a good packet */ |
1165 | struct sk_buff *skb; | 1165 | struct sk_buff *skb; |
1166 | 1166 | ||
1167 | skb = dev_alloc_skb(pkt_len + 3); | 1167 | skb = netdev_alloc_skb(dev, pkt_len + 3); |
1168 | if( skb == NULL ) { | 1168 | if( skb == NULL ) { |
1169 | printk(KERN_WARNING "%s: Could'n allocate memory for packet (len %d)\n", | 1169 | printk(KERN_WARNING "%s: Could'n allocate memory for packet (len %d)\n", |
1170 | dev->name, pkt_len); | 1170 | dev->name, pkt_len); |