summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-picolcd_fb.c
diff options
context:
space:
mode:
authorBruno Prémont <bonbons@linux-vserver.org>2012-08-19 21:31:23 +0400
committerJiri Kosina <jkosina@suse.cz>2012-09-05 13:48:06 +0400
commita5785cc0101928663c8ed89f42afea719aecee09 (patch)
tree1296b2bb67118a39f4ca203ce64385cfe9eba257 /drivers/hid/hid-picolcd_fb.c
parent9277738ddde993b01d4119f61b9e5cbdf8d47ab3 (diff)
downloadlinux-a5785cc0101928663c8ed89f42afea719aecee09.tar.xz
HID: picoLCD: prevent NULL pointer dereferences
Driver code expects to get access to struct picolcd_data from hiddev and is not prepared to find a NULL pointer there. Most prominent candidate to trip on it is picolcd_fb_deferred_io(). Delay removing struct picolcd_data from hiddev until all sub-devices have been unregistered. Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-picolcd_fb.c')
0 files changed, 0 insertions, 0 deletions