[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200702015701.8606-1-vulab@iscas.ac.cn>
Date: Thu, 2 Jul 2020 01:57:01 +0000
From: Xu Wang <vulab@...as.ac.cn>
To: kvalo@...eaurora.org, davem@...emloft.net, kuba@...nel.org,
mpe@...erman.id.au, akpm@...ux-foundation.org, wenwen@...uga.edu,
adobriyan@...il.com, dan.carpenter@...cle.com
Cc: linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Xu Wang <vulab@...as.ac.cn>
Subject: [PATCH] net: cisco : use set_current_state macro
Use set_current_state macro instead of current->state = TASK_RUNNING.
Signed-off-by: Xu Wang <vulab@...as.ac.cn>
---
drivers/net/wireless/cisco/airo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
--
2.17.1
Powered by blists - more mailing lists