lkml.org 
[lkml]   [2017]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Account for uncorrectable failures in probing
Date
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

\
 
 \ /
  Last update: 2017-11-03 17:28    [W:0.133 / U:2.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site