From: Heiko Carstens <hca@linux.ibm.com>
To: Sang-Heon Jeon <ekffu200098@gmail.com>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>,
Vasily Gorbik <gor@linux.ibm.com>,
Christian Borntraeger <borntraeger@linux.ibm.com>,
linux-s390@vger.kernel.org, Sven Schnelle <svens@linux.ibm.com>
Subject: Re: [PATCH] s390/sclp: Remove redundant memset after memblock_alloc_low
Date: Tue, 13 Oct 2026 11:05:58 +0200 [thread overview]
Message-ID: <20261013090558.9443A44-hca@linux.ibm.com> (raw)
In-Reply-To: <20261012150404.555918-1-ekffu200098@gmail.com>
On Tue, Oct 13, 2026 at 12:04:02AM +0900, Sang-Heon Jeon wrote:
> memblock_alloc_low() returns zeroed memory, so the memset after the
> allocation in sclp_early_get_core_info() is redundant.
>
> So remove the memset.
>
> No functional change.
>
> Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
> ---
> drivers/s390/char/sclp_early.c | 1 -
> 1 file changed, 1 deletion(-)
Applied, thanks!
prev parent reply other threads:[~2026-10-13 9:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-12 15:04 [PATCH] s390/sclp: Remove redundant memset after memblock_alloc_low Sang-Heon Jeon
2026-10-12 15:09 ` sashiko-bot
2026-10-12 15:18 ` Alexander Gordeev
2026-10-13 1:50 ` Sang-Heon Jeon
2026-10-13 9:05 ` Heiko Carstens [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=20261013090558.9443A44-hca@linux.ibm.com \
--to=hca@linux.ibm.com \
--cc=agordeev@linux.ibm.com \
--cc=borntraeger@linux.ibm.com \
--cc=ekffu200098@gmail.com \
--cc=gor@linux.ibm.com \
--cc=linux-s390@vger.kernel.org \
--cc=svens@linux.ibm.com \
/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