Re: [PATCH net-next v01 10/12] hinic3: Add Rss function

From: Jakub Kicinski
Date: Tue Aug 26 2025 - 13:49:50 EST


On Tue, 26 Aug 2025 18:06:42 +0100 Vadim Fedorenko wrote:
> > + nic_dev->rss_hkey = kzalloc(L2NIC_RSS_KEY_SIZE, GFP_KERNEL);
>
> no need to request zero'ed allocation if you are going to overwrite it
> completely on the very next line.

exactly, please use kmemdump().