netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 06/11] dm9000-use-delayed-work-to-update-mii-phy-state-fix
@ 2008-05-14 23:20 akpm
  2008-05-22 10:03 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2008-05-14 23:20 UTC (permalink / raw)
  To: jeff; +Cc: netdev, akpm, ben-linux, enrico.scholz

From: Andrew Morton <akpm@linux-foundation.org>

use cancel_delayed_work_sync()

Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/net/dm9000.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/net/dm9000.c~dm9000-use-delayed-work-to-update-mii-phy-state-fix drivers/net/dm9000.c
--- a/drivers/net/dm9000.c~dm9000-use-delayed-work-to-update-mii-phy-state-fix
+++ a/drivers/net/dm9000.c
@@ -903,7 +903,7 @@ dm9000_stop(struct net_device *ndev)
 	if (netif_msg_ifdown(db))
 		dev_dbg(db->dev, "shutting down %s\n", ndev->name);
 
-	cancel_delayed_work(&db->phy_poll);
+	cancel_delayed_work_sync(&db->phy_poll);
 
 	netif_stop_queue(ndev);
 	netif_carrier_off(ndev);
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 06/11] dm9000-use-delayed-work-to-update-mii-phy-state-fix
  2008-05-14 23:20 [patch 06/11] dm9000-use-delayed-work-to-update-mii-phy-state-fix akpm
@ 2008-05-22 10:03 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2008-05-22 10:03 UTC (permalink / raw)
  To: akpm; +Cc: netdev, ben-linux, enrico.scholz

akpm@linux-foundation.org wrote:
> From: Andrew Morton <akpm@linux-foundation.org>
> 
> use cancel_delayed_work_sync()
> 
> Cc: Ben Dooks <ben-linux@fluff.org>
> Cc: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
> Cc: Jeff Garzik <jeff@garzik.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
> 
>  drivers/net/dm9000.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

applied



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-22 10:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-14 23:20 [patch 06/11] dm9000-use-delayed-work-to-update-mii-phy-state-fix akpm
2008-05-22 10:03 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).