test9pre6 usb-storage

From: John Levon (moz@compsoc.man.ac.uk)
Date: Sun Sep 24 2000 - 09:55:34 EST


These chunks :

        /* long wait for reset */
+ set_current_state(TASK_UNINTERRUPTIBLE);
        schedule_timeout(HZ*6);
+ set_current_state(TASK_RUNNING);
                                                                                                                                                               
and

+ /* long wait for reset */
+ set_current_state(TASK_UNINTERRUPTIBLE);
+ schedule_timeout(HZ*6);
+ set_current_state(TASK_RUNNING);

seem slightly wrong. Unless someone wants to correct me, there
should be no need to set TASK_RUNNING after schedule_timeout()
has been called.

john

p.s. I am not subscribed to linux-usb-devel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:12 EST