Skip to content

Fix return value check

Lu Wei lkml platform-driver-x86 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/22 patches 1 replyIn review
  2. v3 posting 1/22 patches 0 repliesSuperseded
  3. v21 patch 1 replySuperseded

Changes in v3 from the cover letter

- Modify format

Patches in v3 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2intel-hid: Fix return value check in check_acpi_dev()drivers/platform/x86/intel-hid.c+1 -10 replies
2/2intel-vbtn: Fix return value check in check_acpi_dev()drivers/platform/x86/intel-vbtn.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] Fix return value check

In the function check_acpi_dev(), if it fails to create platform device, the return value is ERR_PTR() or NULL. Thus it must use IS_ERR_OR_NULL to check return value.

---
v2->v3
- Modify format
v3->v4
- Change commit number to 12 characters

Lu Wei (2):
intel-hid: Fix return value check in check_acpi_dev()
intel-vbtn: Fix return value check in check_acpi_dev()

 drivers/platform/x86/intel-hid.c  | 2 +-
 drivers/platform/x86/intel-vbtn.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--
2.7.4