Re: [PATCH 5/7 linux-next] hso: replace current->state by __set_current_state()

2015-02-22 Thread David Miller
From: Fabian Frederick Date: Fri, 20 Feb 2015 19:12:55 +0100 > 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 > Signed-off-by: Fab

[PATCH 5/7 linux-next] hso: replace current->state by __set_current_state()

2015-02-20 Thread Fabian Frederick
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 Signed-off-by: Fabian Frederick --- drivers/net/usb/hso.c | 2 +- 1 file changed, 1 insertion