diff options
| author | 2019-05-29 09:55:51 +0800 | |
|---|---|---|
| committer | 2019-06-12 12:42:27 +0300 | |
| commit | 92a74ce3c466011375bdf8282e64b13a7052aee8 (patch) | |
| tree | 4b25dc231b59b718bf7f677ab688befc982fc3f5 /include/linux/debugobjects.h | |
| parent | platform/x86: Remove left-over BACKLIGHT_LCD_SUPPORT (diff) | |
platform/x86: intel_menlow: avoid null pointer deference error
Fix a null pointer deference by acpi_driver_data() if device is
null (dereference before check). We should only set cdev and check
this is OK after we are sure device is not null.
Signed-off-by: Young Xiao <92siuyang@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
