Re: [PATCH 2/7 linux-next] mISDN: replace current->state by set_current_state()

2015-02-22 Thread David Miller
From: Fabian Frederick Date: Fri, 20 Feb 2015 19:12:52 +0100 > Use helper function to access current->state. > Direct assignments are prone to races and therefore buggy. > > Thanks to Peter Zijlstra for the exact definition of the problem. > > Signed-off-by: Fabian Frederick Applied. -- To un

[PATCH 2/7 linux-next] mISDN: replace current->state by set_current_state()

2015-02-20 Thread Fabian Frederick
Use helper function to access current->state. Direct assignments are prone to races and therefore buggy. Thanks to Peter Zijlstra for the exact definition of the problem. Signed-off-by: Fabian Frederick --- drivers/isdn/hardware/mISDN/hfcpci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(