Re: [PATCH net-next] ntp: fix size argument for kcalloc
From: Simon Horman
Date: Thu Jul 04 2024 - 03:32:14 EST
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@xxxxxxxxxxx>
nit: s/ntp/nfp/ in the subject
...