Subject: Re: [PATCH 1/1] net/mlx5/core: Allocate ttc_params on heap

From: Cheng-Yang Chou <[email-masked]>
Date: Thu, 26 Feb 2026 18:33:34 +0800

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