From: Bjorn Andersson <andersson@kernel.org>
To: linux-arm-msm@vger.kernel.org, Rosen Penev <rosenp@gmail.com>
Cc: Konrad Dybcio <konradybcio@kernel.org>,
Kees Cook <kees@kernel.org>,
"Gustavo A. R. Silva" <gustavoars@kernel.org>,
linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org
Subject: Re: [PATCH] soc: qcom: wcnss: simplify allocation of req
Date: Mon, 30 Mar 2026 11:01:29 -0500 [thread overview]
Message-ID: <177488647768.633011.8570287686963490351.b4-ty@kernel.org> (raw)
In-Reply-To: <20260327025534.7864-1-rosenp@gmail.com>
On Thu, 26 Mar 2026 19:55:34 -0700, Rosen Penev wrote:
> Get rid of automatic kfree and move allocation down to where it's used.
>
> Use kzalloc_flex as we're dealing with a flexible array member.
>
> Use struct_size to avoid some pointer math.
>
> Add __counted_by for extra runtime analysis. Move the counting variable
> assignment to right after allocation as required by __counted_by.
>
> [...]
Applied, thanks!
[1/1] soc: qcom: wcnss: simplify allocation of req
commit: 908061f0ad30aa08ce211c6a8f95d29102e570bd
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
prev parent reply other threads:[~2026-03-30 16:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-27 2:55 Rosen Penev
2026-03-30 16:01 ` Bjorn Andersson [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=177488647768.633011.8570287686963490351.b4-ty@kernel.org \
--to=andersson@kernel.org \
--cc=gustavoars@kernel.org \
--cc=kees@kernel.org \
--cc=konradybcio@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rosenp@gmail.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®