From: Alexander Gordeev <agordeev@linux.ibm.com>
To: Thorsten Blum <thorsten.blum@linux.dev>
Cc: Heiko Carstens <hca@linux.ibm.com>,
Vasily Gorbik <gor@linux.ibm.com>,
Christian Borntraeger <borntraeger@linux.ibm.com>,
Sven Schnelle <svens@linux.ibm.com>,
Halil Pasic <pasic@linux.ibm.com>,
Niklas Schnelle <schnelle@linux.ibm.com>,
"Bill O'Donnell" <bodonnel@redhat.com>,
Al Viro <viro@zeniv.linux.org.uk>,
Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>,
Joel Granados <joel.granados@kernel.org>,
Wei Liu <wei.liu@kernel.org>,
linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] s390/debug: Replace kmalloc() + copy_from_user() with memdup_user_nul()
Date: Mon, 8 Sep 2025 13:50:03 +0200 [thread overview]
Message-ID: <d228ead4-c37e-4728-b1ec-a2d61ccd1f1e-agordeev@linux.ibm.com> (raw)
In-Reply-To: <20250904114031.353365-2-thorsten.blum@linux.dev>
On Thu, Sep 04, 2025 at 01:40:29PM +0200, Thorsten Blum wrote:
> Replace kmalloc() followed by copy_from_user() with memdup_user_nul() to
> improve and simplify debug_get_user_string(). Remove the manual
> NUL-termination.
>
> No functional changes intended.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
> ---
> arch/s390/kernel/debug.c | 12 +++---------
> 1 file changed, 3 insertions(+), 9 deletions(-)
Applied, thanks!
prev parent reply other threads:[~2025-09-08 11:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-04 11:40 Thorsten Blum
2025-09-04 12:14 ` Niklas Schnelle
2025-09-08 11:50 ` Alexander Gordeev [this message]
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=d228ead4-c37e-4728-b1ec-a2d61ccd1f1e-agordeev@linux.ibm.com \
--to=agordeev@linux.ibm.com \
--cc=bodonnel@redhat.com \
--cc=borntraeger@linux.ibm.com \
--cc=gor@linux.ibm.com \
--cc=hca@linux.ibm.com \
--cc=joel.granados@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=pasic@linux.ibm.com \
--cc=schnelle@linux.ibm.com \
--cc=svens@linux.ibm.com \
--cc=thorsten.blum@linux.dev \
--cc=tigran.mkrtchyan@desy.de \
--cc=viro@zeniv.linux.org.uk \
--cc=wei.liu@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
all inboxes | Powered by JetHome®