Re: [PATCH] Fixes kernel panic with Null pointer in hid-appleir.c

2014-06-30 Thread Jiri Kosina
On Fri, 20 Jun 2014, Nicholas Krause wrote: > In for loop of function appleir_input_configured we hit > a Null pointer after the for loop due to array_size not > being correct needs to be changed to input_dev->keycodemax. > > Signed-off-by: Nicholas Krause > --- > drivers/hid/hid-appleir.c | 2

[PATCH] Fixes kernel panic with Null pointer in hid-appleir.c

2014-06-20 Thread Nicholas Krause
In for loop of function appleir_input_configured we hit a Null pointer after the for loop due to array_size not being correct needs to be changed to input_dev->keycodemax. Signed-off-by: Nicholas Krause --- drivers/hid/hid-appleir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g