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

2020-11-03 Thread Jakub Kicinski
On Mon, 2 Nov 2020 13:46:01 + Colin King wrote: > From: Colin Ian King > > 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 porta

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

2020-11-02 Thread Colin King
From: Colin Ian King 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 --- drivers