Skip to content

platform/x86: Move to 2-argument strscpy()

Andy Shevchenko linux-input lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7platform/x86: asus-tf103c-dock: Use 2-argument strscpy()drivers/platform/x86/asus-tf103c-dock.c+5 -51 reply
2/7platform/x86: hp: hp-bioscfg: Use 2-argument strscpy()drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c drivers/platform/x86/hp/hp-bioscfg/int-attributes.c drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c +3 more+22 -550 replies
3/7platform/x86: intel: chtwc_int33fe: Use 2-argument strscpy()drivers/platform/x86/intel/chtwc_int33fe.c+3 -30 replies
4/7platform/x86: serial-multi-instantiate: Use 2-argument strscpy()drivers/platform/x86/serial-multi-instantiate.c+2 -20 replies
5/7platform/x86: think-lmi: Use 2-argument strscpy()drivers/platform/x86/think-lmi.c+2 -20 replies
6/7platform/x86: thinkpad_acpi: Use 2-argument strscpy()drivers/platform/x86/thinkpad_acpi.c+2 -40 replies
7/7platform/x86: touchscreen_dmi: Use 2-argument strscpy()drivers/platform/x86/touchscreen_dmi.c+1 -11 reply

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchHans de Goede
1/7R-b
2/7
3/7
4/7
5/7
6/7
7/7

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

Read the v1 thread

Cover letter [PATCH v1 0/7] platform/x86: Move to 2-argument strscpy()

Move to 2-argument strscpy() to make code shorter and have an additional check. No functional change intended.

Some cases are let untouched where it looks better with the 3rd argument.

Andy Shevchenko (7):
platform/x86: asus-tf103c-dock: Use 2-argument strscpy() platform/x86: hp: hp-bioscfg: Use 2-argument strscpy() platform/x86: intel: chtwc_int33fe: Use 2-argument strscpy() platform/x86: serial-multi-instantiate: Use 2-argument strscpy() platform/x86: think-lmi: Use 2-argument strscpy() platform/x86: thinkpad_acpi: Use 2-argument strscpy() platform/x86: touchscreen_dmi: Use 2-argument strscpy()

 drivers/platform/x86/asus-tf103c-dock.c       | 10 +++++-----
 .../x86/hp/hp-bioscfg/enum-attributes.c       | 18 +++++-------------
 .../x86/hp/hp-bioscfg/int-attributes.c        |  7 ++-----
 .../x86/hp/hp-bioscfg/order-list-attributes.c | 18 +++++-------------
 .../x86/hp/hp-bioscfg/passwdobj-attributes.c  | 19 +++++--------------
 .../x86/hp/hp-bioscfg/spmobj-attributes.c     |  3 +--
 .../x86/hp/hp-bioscfg/string-attributes.c     | 12 ++++--------
 drivers/platform/x86/intel/chtwc_int33fe.c    |  6 +++---
 .../platform/x86/serial-multi-instantiate.c   |  4 ++--
 drivers/platform/x86/think-lmi.c              |  4 ++--
 drivers/platform/x86/thinkpad_acpi.c          |  6 ++----
 drivers/platform/x86/touchscreen_dmi.c        |  2 +-
 12 files changed, 37 insertions(+), 72 deletions(-)
Signature · 1 line
2.45.1