Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290048
b: refs/heads/master
c: b72061a
h: refs/heads/master
v: v3
  • Loading branch information
Fabio Estevam authored and David S. Miller committed Feb 7, 2012
1 parent 25ab84a commit 7e3dedc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c3059be16c9ef29c05f0876a9df5fea21f29724f
refs/heads/master: b72061a3cb0f1c5aa3f919e2dadb4a1631773e7a
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/freescale/fec.c
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ fec_enet_rx(struct net_device *ndev)
* include that when passing upstream as it messes up
* bridging applications.
*/
skb = netdev_alloc_skb(dev, pkt_len - 4 + NET_IP_ALIGN);
skb = netdev_alloc_skb(ndev, pkt_len - 4 + NET_IP_ALIGN);

if (unlikely(!skb)) {
printk("%s: Memory squeeze, dropping packet.\n",
Expand Down Expand Up @@ -1210,7 +1210,7 @@ static int fec_enet_alloc_buffers(struct net_device *ndev)

bdp = fep->rx_bd_base;
for (i = 0; i < RX_RING_SIZE; i++) {
skb = netdev_alloc_skb(dev, FEC_ENET_RX_FRSIZE);
skb = netdev_alloc_skb(ndev, FEC_ENET_RX_FRSIZE);
if (!skb) {
fec_enet_free_buffers(ndev);
return -ENOMEM;
Expand Down

0 comments on commit 7e3dedc

Please sign in to comment.