lkml.org 
[lkml]   [2020]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] octeontx2-pf: Fix sizeof() mismatch
On Mon,  2 Nov 2020 13:46:01 +0000 Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> 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@canonical.com>

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

\
 
 \ /
  Last update: 2020-11-04 02:53    [W:0.029 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site