[PATCH linux-next] hid/logitech-dj: Fix non-atomic kmalloc in logi_dj_ll_input_event()

2013-07-31 Thread Peter Hurley
The ll_driver's .hidinput_input_event() method is called from atomic context [1]. Use GFP_ATOMIC for allocation of the synthesized hid report. Signed-off-by: Peter Hurley pe...@hurleysoftware.com [1] BUG: sleeping function called from invalid context at

Re: [PATCH linux-next] hid/logitech-dj: Fix non-atomic kmalloc in logi_dj_ll_input_event()

2013-07-31 Thread Jiri Kosina
On Wed, 31 Jul 2013, Peter Hurley wrote: The ll_driver's .hidinput_input_event() method is called from atomic context [1]. Use GFP_ATOMIC for allocation of the synthesized hid report. Signed-off-by: Peter Hurley pe...@hurleysoftware.com Applied, thanks Peter. -- Jiri Kosina SUSE Labs --