netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] janitor: sched_timeout() sets curr_state (cosa)
@ 2003-10-06  3:40 Randy.Dunlap
  2003-10-07 14:46 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2003-10-06  3:40 UTC (permalink / raw)
  To: netdev; +Cc: kas

Hi,
Please apply to 2.6.0-test6-current.

--
~Randy


From: Alexey Dobriyan <adobriyan@mail.ru>


 linux-260-test6-kj1-rddunlap/drivers/net/wan/cosa.c |    2 --
 1 files changed, 2 deletions(-)

diff -puN drivers/net/wan/cosa.c~net_wan_taskrun drivers/net/wan/cosa.c
--- linux-260-test6-kj1/drivers/net/wan/cosa.c~net_wan_taskrun	2003-09-29 17:35:07.000000000 -0700
+++ linux-260-test6-kj1-rddunlap/drivers/net/wan/cosa.c	2003-09-29 17:35:07.000000000 -0700
@@ -519,7 +519,6 @@ static int cosa_probe(int base, int irq,
 		current->state = TASK_INTERRUPTIBLE;
 		cosa_putstatus(cosa, SR_TX_INT_ENA);
 		schedule_timeout(30);
-		current->state = TASK_RUNNING;
 		irq = probe_irq_off(irqs);
 		/* Disable all IRQs from the card */
 		cosa_putstatus(cosa, 0);
@@ -1532,7 +1531,6 @@ static int cosa_reset_and_read_id(struct
 #ifdef MODULE
 	current->state = TASK_INTERRUPTIBLE;
 	schedule_timeout(HZ/2);
-	current->state = TASK_RUNNING;
 #else
 	udelay(5*100000);
 #endif

_

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

* Re: [PATCH] janitor: sched_timeout() sets curr_state (cosa)
  2003-10-06  3:40 [PATCH] janitor: sched_timeout() sets curr_state (cosa) Randy.Dunlap
@ 2003-10-07 14:46 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2003-10-07 14:46 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: netdev, kas

On Sun, 5 Oct 2003 20:40:27 -0700
"Randy.Dunlap" <rddunlap@osdl.org> wrote:

> From: Alexey Dobriyan <adobriyan@mail.ru>
> 
>  linux-260-test6-kj1-rddunlap/drivers/net/wan/cosa.c |    2 --
>  1 files changed, 2 deletions(-)

Applied, thanks Randy.

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

end of thread, other threads:[~2003-10-07 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-06  3:40 [PATCH] janitor: sched_timeout() sets curr_state (cosa) Randy.Dunlap
2003-10-07 14:46 ` David S. Miller

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).