drivers/char/hw_random.c: replace direct assignment
Subsystems (2)
PATCH 1/1 drivers/char/hw_random.c: replace direct assignment
description:
Use set_current_state() instead of direct assignment of current->state.
Signed-off-by Christophe Lucas <[email protected]>
drivers/char/hw_random.c +1 -1
@@ -514,7 +514,7 @@ static ssize_t rng_dev_read (struct fileif (need_resched ()) { - current->state =TASK_INTERRUPTIBLE ; +set_current_state (TASK_INTERRUPTIBLE );schedule_timeout (1 ); }else
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors