[PATCH 0/2] Account for uncorrectable failures in probing
From: Mario Limonciello
Date: Fri Nov 03 2017 - 12:27:46 EST
Pali raised some concerns around corner case scenarios that probing
may fail on dell-wmi-descriptor causing dell-wmi and dell-smbios-wmi
to be stuck in infinite deferred probing loops.
This patch series accounts for that corner case.
Changes since original submission:
- Add as second patch that catches potential NULL pointer
- Avoid potential race condition between driver init and calling
check for if validation successful
Mario Limonciello (2):
platform/x86: dell-wmi-descriptor: check if memory was allocated
platform/x86: dell-*wmi*: Relay failed initial probe to dependent
drivers
drivers/platform/x86/dell-smbios-wmi.c | 4 ++++
drivers/platform/x86/dell-wmi-descriptor.c | 16 ++++++++++++++++
drivers/platform/x86/dell-wmi-descriptor.h | 7 +++++++
drivers/platform/x86/dell-wmi.c | 5 +++++
4 files changed, 32 insertions(+)
--
2.14.1