From: Cheng-Yang Chou <yphbchou0911@gmail.com>
To: Leon Romanovsky <leon@kernel.org>
Cc: netdev@vger.kernel.org, saeedm@nvidia.com, tariqt@nvidia.com,
mbloch@nvidia.com, jserv@ccns.ncku.edu.tw,
charlie910417@gmail.com
Subject: Re: [PATCH 1/1] net/mlx5/core: Allocate ttc_params on heap
Date: Thu, 26 Feb 2026 18:33:34 +0800 [thread overview]
Message-ID: <aaAhfgBoQnI3Qdaj@eric-acer> (raw)
In-Reply-To: <20260226100514.GH12611@unreal>
On Thu, Feb 26, 2026 at 12:05:14PM +0200, Leon Romanovsky wrote:
> > + ttc_params = kzalloc(sizeof(*ttc_params), GFP_KERNEL);
>
> It needs to be kzalloc_obj(*ttc_params).
> https://lore.kernel.org/linux-rdma/20260226071913.GD12611@unreal/T/#u
>
> Thanks
Thanks for the head-up. I'll send a v2 patch.
Thanks,
Cheng-Yang
next prev parent reply other threads:[~2026-02-26 10:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-26 9:28 [PATCH 0/1] net/mlx5/core: Fix stack frame size warnings Cheng-Yang Chou
2026-02-26 9:28 ` [PATCH 1/1] net/mlx5/core: Allocate ttc_params on heap Cheng-Yang Chou
2026-02-26 10:05 ` Leon Romanovsky
2026-02-26 10:33 ` Cheng-Yang Chou [this message]
2026-02-26 18:15 ` Simon Horman
2026-02-27 2:38 ` Cheng-Yang Chou
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=aaAhfgBoQnI3Qdaj@eric-acer \
--to=yphbchou0911@gmail.com \
--cc=charlie910417@gmail.com \
--cc=jserv@ccns.ncku.edu.tw \
--cc=leon@kernel.org \
--cc=mbloch@nvidia.com \
--cc=netdev@vger.kernel.org \
--cc=saeedm@nvidia.com \
--cc=tariqt@nvidia.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