Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7280f5ae authored by David S. Miller's avatar David S. Miller
Browse files

sonice: Fix build due to botched netdev_alloc_skb() conversion.

parent af2ce213
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -422,7 +422,7 @@ static void sonic_rx(struct net_device *dev)
		status = sonic_rda_get(dev, entry, SONIC_RD_STATUS);
		if (status & SONIC_RCR_PRX) {
			/* Malloc up new buffer. */
			new_skb = netdev_alloc_skb(SONIC_RBSIZE + 2);
			new_skb = netdev_alloc_skb(dev, SONIC_RBSIZE + 2);
			if (new_skb == NULL) {
				printk(KERN_ERR "%s: Memory squeeze, dropping packet.\n", dev->name);
				lp->stats.rx_dropped++;