Skip to content

Add and use supported/unsupported string helper

Thorsten Blum linux-hardening lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 5 repliesIn review

Changes in v2 from the cover letter

- Add and use str_supported_unsupported() as suggested by Ilpo
- v1: https://lore.kernel.org/r/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/string_choices: Add str_supported_unsupported() helperinclude/linux/string_choices.h+6 -02 replies
2/2platform/x86: thinkpad_acpi: Use str_supported_unsupported() helperdrivers/platform/x86/lenovo/thinkpad_acpi.c+16 -261 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndy Shevchenko
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Add and use supported/unsupported string helper

Add a shared str_supported_unsupported() helper and use it to replace thinkpad_acpi's custom implementation.

Changes in v2:
- Add and use str_supported_unsupported() as suggested by Ilpo
- v1: https://lore.kernel.org/r/[email protected]/

Thorsten Blum (2):
lib/string_choices: Add str_supported_unsupported() helper platform/x86: thinkpad_acpi: Use str_supported_unsupported() helper

 drivers/platform/x86/lenovo/thinkpad_acpi.c | 42 ++++++++-------------
 include/linux/string_choices.h              |  6 +++
 2 files changed, 22 insertions(+), 26 deletions(-)