summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-huion.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2015-01-04 11:35:59 +0300
committerZhang Rui <rui.zhang@intel.com>2015-01-06 03:18:21 +0300
commitad0f409051a67dde8d454990e09b6db41f675876 (patch)
treeb79ff6772c54d2c7f3955a88e639b461c4176199 /drivers/hid/hid-huion.c
parent014d9d5d0cc1da79bbe48fbc5e1068c5616238d2 (diff)
downloadlinux-ad0f409051a67dde8d454990e09b6db41f675876.tar.xz
int340x_thermal/processor_thermal_device: return failure when
there is no ACPI device object processor_thermal_device driver needs ACPI support to work. Thus, the driver probing should fail when there is no ACPI device object asscociated. This fixes a NULL pointer dereference when the driver is loaded with INT340X feature disabled in BIOS. Reported-by: Chen Yu <yu.c.chen@intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com> Tested-by: Chen Yu <yu.c.chen@intel.com>
Diffstat (limited to 'drivers/hid/hid-huion.c')
0 files changed, 0 insertions, 0 deletions