From: Fushuai Wang <fushuai.wang@linux.dev>
To: 13875017792@163.com
Cc: christophe.leroy@csgroup.eu, frederic@kernel.org,
ligongwei@kylinos.cn, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
wangfushuai@baidu.com
Subject: Re: [PATCH 1/1] soc/qman: use kmalloc_array() instead of kmalloc()
Date: Fri, 21 Nov 2025 18:48:54 +0800 [thread overview]
Message-ID: <20251121104854.75800-1-fushuai.wang@linux.dev> (raw)
In-Reply-To: <20251121061022.114609-1-13875017792@163.com>
> Replace kmalloc() with kmalloc_array() to prevent potential
> overflow, as recommended in Documentation/process/deprecated.rst.
>
> Signed-off-by: Gongwei Li <ligongwei@kylinos.cn>
Reviewed-by: Fushuai Wang <wangfushuai@baidu.com>
---
Regards,
Wang.
next prev parent reply other threads:[~2025-11-21 10:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-21 6:10 Gongwei Li
2025-11-21 10:48 ` Fushuai Wang [this message]
2025-11-22 10:11 ` Christophe Leroy (CS GROUP)
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=20251121104854.75800-1-fushuai.wang@linux.dev \
--to=fushuai.wang@linux.dev \
--cc=13875017792@163.com \
--cc=christophe.leroy@csgroup.eu \
--cc=frederic@kernel.org \
--cc=ligongwei@kylinos.cn \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=wangfushuai@baidu.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
all inboxes | Powered by JetHome®