diff options
author | Pradeep A Dalvi <netdev@pradeepdalvi.com> | 2012-02-04 21:50:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-06 11:48:09 -0500 |
commit | 21a4e46995fa1a76281ac0281ff837f706231a37 (patch) | |
tree | 3e57d5f21bbc8ec7e625f05e548957f0b4e54013 /drivers/net/ethernet/fujitsu | |
parent | 1d266430546acf01438ae42d0a7370db4817e2ad (diff) |
netdev: ethernet dev_alloc_skb to netdev_alloc_skb
Replaced deprecating dev_alloc_skb with netdev_alloc_skb in drivers/net/ethernet
- Removed extra skb->dev = dev after netdev_alloc_skb
Signed-off-by: Pradeep A Dalvi <netdev@pradeepdalvi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/fujitsu')
-rw-r--r-- | drivers/net/ethernet/fujitsu/at1700.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/fujitsu/at1700.c b/drivers/net/ethernet/fujitsu/at1700.c index 7c6c908bdf02..586b46fd4eed 100644 --- a/drivers/net/ethernet/fujitsu/at1700.c +++ b/drivers/net/ethernet/fujitsu/at1700.c | |||
@@ -757,7 +757,7 @@ net_rx(struct net_device *dev) | |||
757 | dev->stats.rx_errors++; | 757 | dev->stats.rx_errors++; |
758 | break; | 758 | break; |
759 | } | 759 | } |
760 | skb = dev_alloc_skb(pkt_len+3); | 760 | skb = netdev_alloc_skb(dev, pkt_len + 3); |
761 | if (skb == NULL) { | 761 | if (skb == NULL) { |
762 | printk("%s: Memory squeeze, dropping packet (len %d).\n", | 762 | printk("%s: Memory squeeze, dropping packet (len %d).\n", |
763 | dev->name, pkt_len); | 763 | dev->name, pkt_len); |