linux/net/irda/ircomm
Fabian Frederick a948f8ce77 irda: replace current->state by set_current_state()
Use helper functions to access current->state.
Direct assignments are prone to races and therefore buggy.

current->state = TASK_RUNNING can be replaced by __set_current_state()

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: David S. Miller <davem@davemloft.net>
2015-02-23 17:21:11 -05:00
..
ircomm_core.c irda: Convert IRDA_DEBUG to pr_debug 2014-11-12 13:56:41 -05:00
ircomm_event.c irda: Fix build failures after IRDA_DEBUG->pr_debug 2014-11-12 22:01:14 -05:00
ircomm_lmp.c irda: Convert IRDA_DEBUG to pr_debug 2014-11-12 13:56:41 -05:00
ircomm_param.c irda: Convert function pointer arrays and uses to const 2014-12-10 15:33:16 -05:00
ircomm_ttp.c irda: Convert IRDA_DEBUG to pr_debug 2014-11-12 13:56:41 -05:00
ircomm_tty_attach.c irda: Fix build failures after IRDA_DEBUG->pr_debug 2014-11-12 22:01:14 -05:00
ircomm_tty_ioctl.c irda: Convert IRDA_DEBUG to pr_debug 2014-11-12 13:56:41 -05:00
ircomm_tty.c irda: replace current->state by set_current_state() 2015-02-23 17:21:11 -05:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile Net: irda: ircomm: Makefile: Remove deprecated kbuild goal defintions 2010-11-22 08:16:12 -08:00