diff options
| author | Hans de Goede <[email protected]> | 2024-11-09 22:00:28 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2024-11-12 20:21:58 +0000 |
| commit | 4a49194f587a62d972b602e3e1a2c3cfe6567966 (patch) | |
| tree | 85b0ad885a0b67d328fec07b5364efc36a22d6fa /drivers/platform/x86/intel/pmt/class.c | |
| parent | ACPI: x86: Make UART skip quirks work on PCI UARTs without an UID (diff) | |
| download | kernel-4a49194f587a62d972b602e3e1a2c3cfe6567966.tar.gz kernel-4a49194f587a62d972b602e3e1a2c3cfe6567966.zip | |
ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration()
acpi_dev_hid_match() does not check for adev == NULL, dereferencing
it unconditional.
Add a check for adev being NULL before calling acpi_dev_hid_match().
At the moment acpi_quirk_skip_serdev_enumeration() is never called with
a controller_parent without an ACPI companion, but better safe than sorry.
Signed-off-by: Hans de Goede <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
