Message ID | 20200702015701.8606-1-vulab@iscas.ac.cn (mailing list archive) |
---|---|
State | Accepted |
Commit | b28bd97c1c191ade3736b33f2b24e5b288b90ab4 |
Delegated to: | Kalle Valo |
Headers | show |
Series | net: cisco : use set_current_state macro | expand |
Xu Wang <vulab@iscas.ac.cn> wrote: > Use set_current_state macro instead of current->state = TASK_RUNNING. > > Signed-off-by: Xu Wang <vulab@iscas.ac.cn> Patch applied to wireless-drivers-next.git, thanks. b28bd97c1c19 airo: use set_current_state macro
diff --git a/drivers/net/wireless/cisco/airo.c b/drivers/net/wireless/cisco/airo.c index 827bb6d74815..f0bcb67095f1 100644 --- a/drivers/net/wireless/cisco/airo.c +++ b/drivers/net/wireless/cisco/airo.c @@ -3113,7 +3113,7 @@ static int airo_thread(void *data) { } break; } - current->state = TASK_RUNNING; + __set_current_state(TASK_RUNNING); remove_wait_queue(&ai->thr_wait, &wait); locked = 1; }
Use set_current_state macro instead of current->state = TASK_RUNNING. Signed-off-by: Xu Wang <vulab@iscas.ac.cn> --- drivers/net/wireless/cisco/airo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)