linux-stable/drivers/input/keyboard
Mike Dunn 049d75f72d Input: pxa27x_keypad - fix NULL pointer dereference
A NULL pointer dereference exception occurs in the driver probe function when
device tree is used.  The pdata pointer will be NULL in this case, but the code
dereferences it in all cases.  When device tree is used, a platform data
structure is allocated and initialized, and in all cases this pointer is copied
to the driver's private data, so the variable being tested should be accessed
through the driver's private data structure.

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2013-09-18 08:13:54 -07:00
..
adp5520-keys.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
adp5588-keys.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
adp5589-keys.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
amikbd.c Input: amikbd - remove redundant platform_set_drvdata() 2013-05-08 09:04:30 -07:00
atakbd.c input/atari: Fix atarimouse init 2011-05-19 18:19:11 +02:00
atkbd.c Input: atkbd - fix multi-byte scancode handling on reconnect 2013-01-21 17:31:40 -08:00
bf54x-keys.c Input: bf54x-keys - remove redundant platform_set_drvdata() 2013-05-08 09:04:36 -07:00
cros_ec_keyb.c input: Add ChromeOS EC keyboard driver 2013-04-05 11:20:13 +02:00
davinci_keyscan.c Input: davinci_keyscan - remove redundant platform_set_drvdata() 2013-05-08 09:04:38 -07:00
ep93xx_keypad.c Input: ep93xx_keypad - pass correct pointer to free_irq() 2013-05-23 09:38:15 -07:00
goldfish_events.c Input: goldfish - virtual input event driver 2013-01-25 00:06:43 -08:00
gpio_keys.c Input: gpio_keys - remove redundant platform_set_drvdata() 2013-05-08 09:04:40 -07:00
gpio_keys_polled.c Input: gpio_keys_polled - remove redundant platform_set_drvdata() 2013-05-08 09:04:42 -07:00
hil_kbd.c Input: serio - use module_serio_driver 2012-04-04 09:25:43 -07:00
hilkbd.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
hpps2atkbd.h
imx_keypad.c Input: keyboard, serio - simplify use of devm_ioremap_resource 2013-08-15 00:30:17 -07:00
jornada680_kbd.c Input: jornada680_kbd - remove redundant platform_set_drvdata() 2013-05-08 09:04:44 -07:00
jornada720_kbd.c Input: jornada720_kbd - remove redundant platform_set_drvdata() 2013-05-08 09:04:46 -07:00
Kconfig Merge branch 'next' into for-linus 2013-07-02 09:01:31 -07:00
lkkbd.c Input: serio - use module_serio_driver 2012-04-04 09:25:43 -07:00
lm8323.c Input: lm8323 - fix checking PWM interrupt status 2013-01-06 00:52:21 -08:00
lm8333.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
locomokbd.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
lpc32xx-keys.c input: matrix-keymap: Add function to read the new DT binding 2013-04-05 11:20:13 +02:00
Makefile Merge branch 'for-next' of git://github.com/rydberg/linux into next 2013-06-27 23:00:25 -07:00
maple_keyb.c sh: maple: Support block reads and writes. 2009-02-27 16:07:32 +09:00
matrix_keypad.c Input: matrix_keypad - remove redundant platform_set_drvdata() 2013-05-08 09:04:47 -07:00
max7359_keypad.c Input: max7359 - add CONFIG_PM_SLEEP to suspend/resume 2013-08-12 22:32:14 -07:00
mcs_touchkey.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
mpr121_touchkey.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
newtonkbd.c Input: serio - use module_serio_driver 2012-04-04 09:25:43 -07:00
nomadik-ske-keypad.c Input: nomadik-ske-keypad - use module_platform_driver_probe macro 2013-03-17 21:37:21 -07:00
nspire-keypad.c Input: keyboard, serio - simplify use of devm_ioremap_resource 2013-08-15 00:30:17 -07:00
omap-keypad.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
omap4-keypad.c Input: omap-keypad - set up irq type from DT 2013-08-26 00:16:02 -07:00
opencores-kbd.c Input: opencores-kbd - remove redundant platform_set_drvdata() 2013-05-08 09:04:52 -07:00
pmic8xxx-keypad.c Input: pmic8xxx-keypad - remove redundant platform_set_drvdata() 2013-05-08 09:04:54 -07:00
pxa27x_keypad.c Input: pxa27x_keypad - fix NULL pointer dereference 2013-09-18 08:13:54 -07:00
pxa930_rotary.c Input: pxa930_rotary - remove redundant platform_set_drvdata() 2013-05-08 09:04:57 -07:00
qt1070.c Input: qt1070 - add power management ops 2013-08-13 09:52:18 -07:00
qt2160.c Input: qt2160 - add support for LEDs 2013-01-04 16:57:09 -08:00
samsung-keypad.c Merge branch 'next' into for-linus 2013-07-02 09:01:31 -07:00
sh_keysc.c Input: sh_keysc - remove redundant platform_set_drvdata() 2013-05-08 09:05:00 -07:00
spear-keyboard.c Input: keyboard, serio - simplify use of devm_ioremap_resource 2013-08-15 00:30:17 -07:00
stmpe-keypad.c Input: stmpe-keypad - add support for Device Tree bindings 2012-11-24 00:21:49 -08:00
stowaway.c Input: serio - use module_serio_driver 2012-04-04 09:25:43 -07:00
sunkbd.c Input: serio - use module_serio_driver 2012-04-04 09:25:43 -07:00
tc3589x-keypad.c Input: tc3589x-keypad - fix keymap size 2013-03-10 18:32:51 -07:00
tca6416-keypad.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
tca8418_keypad.c input: matrix-keymap: Add function to read the new DT binding 2013-04-05 11:20:13 +02:00
tegra-kbc.c Input: tegra-kbc - simplify use of devm_ioremap_resource 2013-08-15 00:30:12 -07:00
tnetv107x-keypad.c Input: tnetv107x-keypad - remove redundant platform_set_drvdata() 2013-05-08 09:05:03 -07:00
twl4030_keypad.c Input: twl4030_keypad - pass correct pointer to free_irq() 2013-05-23 09:38:24 -07:00
w90p910_keypad.c Input: w90p910_keypad - pass correct pointer to free_irq() 2013-05-23 09:38:28 -07:00
xtkbd.c Input: serio - use module_serio_driver 2012-04-04 09:25:43 -07:00