platform/x86: Check ACPI_COMPANION() or ACPI_HANDLE() against NULL
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/25 patches 5 repliesIn review
- v2 posting 1/216 patches 1 replySuperseded
- v11 patch 5 repliesSuperseded
Patches in v2 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | platform/x86: adv_swbutton: Check ACPI_HANDLE() against NULLdrivers/ | +5 | 0 replies | |
| 2/5 | platform/x86: hp_accel: Check ACPI_COMPANION() against NULLdrivers/ | +3 | 0 replies | |
| 3/5 | platform/x86: intel-hid: Check ACPI_HANDLE() against NULLdrivers/ | +5 | 0 replies | |
| 4/5 | platform/x86: intel_sar: Check ACPI_HANDLE() against NULLdrivers/ | +6 | 0 replies | |
| 5/5 | platform/x86: intel-vbtn: Check ACPI_HANDLE() against NULLdrivers/ | +5 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andy Shevchenko |
|---|---|
| Series | R-b |
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] platform/x86: Check ACPI_COMPANION() or ACPI_HANDLE() against NULL
Hi All,
This series replaces
https://lore.kernel.org/linux-acpi/[email protected]/
and as a whole it makes exactly the same code changes.
Every platform driver can be forced to match a device that doesn't match its list of device IDs because of device_match_driver_override(), so platform drivers that rely on the existence of a device's ACPI companion object need to verify its presence.
Accordingly, add requisite ACPI_COMPANION() or ACPI_HANDLE() checks against NULL to 5 platform/x86 drivers where they are missing.
Thanks!