aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2020-12-16 12:36:04 +0000
committerJakub Kicinski <[email protected]>2020-12-17 18:57:43 +0000
commitd8a4ea350f1fff71c9988ea3da3c913ec30bbfbe (patch)
tree19785113cbaff39eb3b861e89c25c5d6a051f9a7 /net/switchdev/switchdev.c
parentnet: nixge: fix spelling mistake in Kconfig: "Instuments" -> "Instruments" (diff)
downloadkernel-d8a4ea350f1fff71c9988ea3da3c913ec30bbfbe.tar.gz
kernel-d8a4ea350f1fff71c9988ea3da3c913ec30bbfbe.zip
octeontx2-af: Fix undetected unmap PF error check
Currently the check for an unmap PF error is always going to be false because intr_val is a 32 bit int and is being bit-mask checked against 1ULL << 32. Fix this by making intr_val a u64 to match the type at it is copied from, namely npa_event_context->npa_af_rvu_ge. Addresses-Coverity: ("Operands don't affect result") Fixes: f1168d1e207c ("octeontx2-af: Add devlink health reporters for NPA") Signed-off-by: Colin Ian King <[email protected]> Acked-by: George Cherian <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions