Re: [PATCH] octeontx2-pf: Fix sizeof() mismatch

From: Jakub Kicinski
Date: Tue Nov 03 2020 - 20:52:47 EST


On Mon, 2 Nov 2020 13:46:01 +0000 Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> An incorrect sizeof() is being used, sizeof(u64 *) is not correct,
> it should be sizeof(*sq->sqb_ptrs).
>
> Fixes: caa2da34fd25 ("octeontx2-pf: Initialize and config queues")
> Addresses-Coverity: ("Sizeof not portable (SIZEOF_MISMATCH)")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied, but to net-next. The driver depends on 64BIT so this is
harmless.