diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2015-03-05 23:36:35 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-03-17 20:59:55 +0100 |
commit | e2c7d8877e5caa2356b5bc8207535e83b126f653 (patch) | |
tree | 09de6c100ca6990b8fafbf0fe21ad1fa602a15b8 /include | |
parent | HID: tivo: enable all buttons on the TiVo Slide Pro remote (diff) | |
download | linux-e2c7d8877e5caa2356b5bc8207535e83b126f653.tar.xz linux-e2c7d8877e5caa2356b5bc8207535e83b126f653.zip |
HID: wacom: check for wacom->shared before following the pointer
486b908 (HID: wacom: do not send pen events before touch is up/forced out)
introduces a kernel oops when plugging a tablet without touch.
wacom->shared is null for these devices so this leads to a null pointer
exception.
Change the condition to make it clear that what we need is wacom->shared
not NULL.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions