public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
From: Stefan Haberland <sth@linux.ibm.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org,
	Jan Hoeppner <hoeppner@linux.ibm.com>,
	linux-s390@vger.kernel.org, Heiko Carstens <hca@linux.ibm.com>,
	Vasily Gorbik <gor@linux.ibm.com>,
	Christian Borntraeger <borntraeger@de.ibm.com>,
	Justin Stitt <justinstitt@google.com>
Subject: [PATCH 0/3] partitions/ibm: Replace strncpy() and cleanups
Date: Fri, 15 Sep 2023 15:09:58 +0200	[thread overview]
Message-ID: <20230915131001.697070-1-sth@linux.ibm.com> (raw)

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(-)

-- 
2.39.2


             reply	other threads:[~2023-09-15 13:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-15 13:09 Stefan Haberland [this message]
2023-09-15 13:09 ` [PATCH 1/3] partitions/ibm: Remove unnecessary memset Stefan Haberland
2023-09-15 13:10 ` [PATCH 2/3] partitions/ibm: Replace strncpy() and improve readability Stefan Haberland
2023-09-15 13:10 ` [PATCH 3/3] partitions/ibm: Introduce defines for magic string length values Stefan Haberland
2023-10-04  9:59 ` [PATCH 0/3] partitions/ibm: Replace strncpy() and cleanups Stefan Haberland
2023-10-04 14:04   ` Jens Axboe
2023-10-04 14:04 ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230915131001.697070-1-sth@linux.ibm.com \
    --to=sth@linux.ibm.com \
    --cc=axboe@kernel.dk \
    --cc=borntraeger@de.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=hoeppner@linux.ibm.com \
    --cc=justinstitt@google.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox