set_current_state cleanup in
PATCH 1/1 set_current_state cleanup in
From: Jestin Stoffel <[email protected]>
Replaced a couple current->state= with set_current_state
Signed-off-by Jestin Stoffel <[email protected]>
---
drivers/serial/68360serial.c renamed from drivers/serial/68360serial.c.orig +2 -2
@@ -1750,7 +1750,7 @@ static void rs_360_wait_until_sent(strucelse bdp--; }while (bdp->status &BD_SC_READY ); - current->state =TASK_RUNNING ; +set_current_state (TASK_RUNNING );#ifdef SERIAL_DEBUG_RS_WAIT_UNTIL_SENT printk ("lsr = %d (jiff=%lu)...done\n" , lsr, jiffies);#endif
@@ -1880,7 +1880,7 @@ static int block_til_ready(struct tty_st#endif schedule (); } - current->state =TASK_RUNNING ; +set_current_state (TASK_RUNNING );remove_wait_queue (&info->open_wait, &wait);if (!tty_hung_up_p (filp)) state->count++;
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors
PATCH 1/1 set_current_state cleanup in
From: Jestin Stoffel <[email protected]>
Replaced current->state= with set_current_state
---
drivers/serial/serial_core.c renamed from drivers/serial/serial_core.c.orig +1 -1
@@ -1013,7 +1013,7 @@ uart_wait_modem_status(struct uart_state cprev = cnow; } - current->state =TASK_RUNNING ; +set_current_state (TASK_RUNNING );remove_wait_queue (&state->info->delta_msr_wait, &wait);return ret;
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors