Home
last modified time | relevance | path

Searched hist:"97 f9f707d26dfe34368a5b88f1996f2eaf973b42" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/tty/serial/
H A Dserial_core.cdiff 97f9f707d26dfe34368a5b88f1996f2eaf973b42 Fri Feb 20 19:12:57 CET 2015 Fabian Frederick <fabf@skynet.be> serial: core: replace current->state by __set_current_state()

Use helper functions to access current->state.
Direct assignments are prone to races and therefore buggy.

Thanks to Peter Zijlstra for the exact definition of the problem.

Suggested-By: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>