drivers/block/paride/pt.c: replace direct assignment
Subsystems (2)
PATCH 1/1 drivers/block/paride/pt.c: replace direct assignment
description:
Use set_current_state() instead of direct assignment of current->state.
Signed-off-by Christophe Lucas <[email protected]>
drivers/block/paride/pt.c +1 -1
@@ -383,7 +383,7 @@ static int pt_atapi(struct pt_unit *tapestatic void pt_sleep (int cs) { - current->state =TASK_INTERRUPTIBLE ; +set_current_state (TASK_INTERRUPTIBLE );schedule_timeout (cs); }
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors