From: Dan Carpenter <dan.carpenter@linaro.org>
To: Alexandru Hossu <hossu.alexandru@gmail.com>
Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: rtl8723bs: replace kzalloc/kmalloc+memcpy with kmemdup
Date: Wed, 4 Mar 2026 17:13:30 +0300 [thread overview]
Message-ID: <aag-Cn6Gcz73gUKL@stanley.mountain> (raw)
In-Reply-To: <c6e77299-e978-40f1-a574-f2f1eec2eb78@gmail.com>
On Wed, Mar 04, 2026 at 12:26:38PM +0100, Alexandru Hossu wrote:
> Replace kzalloc/kmalloc followed by memcpy with kmemdup to simplify
> code and avoid unnecessary zero-initialization before overwriting.
>
> Signed-off-by: Alexandru Hossu <hossu.alexandru@gmail.com>
Please slow down. Also work against staging-next or linux-next.
regards,
dan carpenter
prev parent reply other threads:[~2026-03-04 14:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-04 11:26 [PATCH] staging: rtl8723bs: replace kzalloc/kmalloc+memcpy with kmemdup Alexandru Hossu
2026-03-04 14:13 ` Dan Carpenter [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=aag-Cn6Gcz73gUKL@stanley.mountain \
--to=dan.carpenter@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=hossu.alexandru@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/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