[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240704073059.GV598357@kernel.org>
Date: Thu, 4 Jul 2024 08:30:59 +0100
From: Simon Horman <horms@...nel.org>
To: Chen Ni <nichen@...as.ac.cn>
Cc: louis.peens@...igine.com, kuba@...nel.org, davem@...emloft.net,
edumazet@...gle.com, pabeni@...hat.com, yinjun.zhang@...igine.com,
johannes.berg@...el.com, ryno.swart@...igine.com,
ziyang.chen@...igine.com, linma@....edu.cn,
niklas.soderlund@...igine.com, oss-drivers@...igine.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] ntp: fix size argument for kcalloc
On Wed, Jul 03, 2024 at 10:56:25AM +0800, Chen Ni wrote:
> The size argument to kcalloc should be the size of desired structure,
> not the pointer to it.
>
> Fixes: 6402528b7a0b ("nfp: xsk: add AF_XDP zero-copy Rx and Tx support")
> Signed-off-by: Chen Ni <nichen@...as.ac.cn>
nit: s/ntp/nfp/ in the subject
...
Powered by blists - more mailing lists