Re: [PATCH] skge: get rid of warning on race

From: Olaf Hering
Date: Tue Dec 13 2005 - 09:50:05 EST


On Mon, Dec 12, Linux Kernel Mailing List wrote:

> tree 987cfbd2134b82bea55c55fa17bd70d29df70458
> parent 0e670506668a43e1355b8f10c33d081a676bd521
> author Stephen Hemminger <shemminger@xxxxxxxx> Wed, 07 Dec 2005 07:01:49 -0800
> committer Jeff Garzik <jgarzik@xxxxxxxxx> Tue, 13 Dec 2005 09:33:03 -0500
>
> [PATCH] skge: get rid of warning on race

> drivers/net/skge.c | 10 ++++++----

> - netif_stop_queue(dev);
> - spin_unlock_irqrestore(&skge->tx_lock, flags);
> + if (!netif_stopped(dev)) {
> + netif_stop_queue(dev);

Current Linus tree does not compile:

drivers/net/skge.c:2283: error: implicit declaration of function 'netif_stopped'


--
short story of a lazy sysadmin:
alias appserv=wotan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/