Skip to content

partitions/ibm: Replace strncpy() and cleanups

Stefan Haberland linux-block linux-s390 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3partitions/ibm: Remove unnecessary memsetblock/partitions/ibm.c+0 -20 replies
2/3partitions/ibm: Replace strncpy() and improve readabilityblock/partitions/ibm.c+61 -250 replies
3/3partitions/ibm: Introduce defines for magic string length valuesblock/partitions/ibm.c+13 -90 replies

Reviews trailers per patch

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

PatchStefan Haberland
1/3R-b
2/3R-b
3/3R-b

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 0/3] partitions/ibm: Replace strncpy() and cleanups

Hi Jens,

please apply the following patches for the next merge window that remove strncpy() from DASD partition detection. This includes some cleanups that should increase readability of the code.

This is based on the discussion started with the patches by Justin Stitt:
https://lore.kernel.org/linux-s390/20230822-strncpy-block-partitions-cmdline-ibm-v1-1-154dea8f755c@google.com/
https://lore.kernel.org/linux-s390/20230823-strncpy-block-partitions-cmdline-ibm-v2-1-40c77f7182fc@google.com/

Thanks.

Jan Höppner (3):
partitions/ibm: Remove unnecessary memset partitions/ibm: Replace strncpy() and improve readability partitions/ibm: Introduce defines for magic string length values

 block/partitions/ibm.c | 98 +++++++++++++++++++++++++++++-------------
 1 file changed, 68 insertions(+), 30 deletions(-)
Signature · 1 line
2.39.2