[PATCH 2/5] Input: gamecon - clear unused function pointers

2015-11-17 Thread Sudip Mukherjee
gc_parport_cb is a local uninitialized structure and the member function pointers will be pointing to arbitrary locations unless they are cleared. Fixes: a517e87c3dfc ("Input: gamecon - use parallel port device model") Signed-off-by: Sudip Mukherjee --- drivers/input/joystick/gamecon.c | 1 + 1

[PATCH 2/5] Input: gamecon - clear unused function pointers

2015-11-17 Thread Sudip Mukherjee
gc_parport_cb is a local uninitialized structure and the member function pointers will be pointing to arbitrary locations unless they are cleared. Fixes: a517e87c3dfc ("Input: gamecon - use parallel port device model") Signed-off-by: Sudip Mukherjee ---