linux/drivers/net/ethernet/marvell/octeontx2
Colin Ian King d8a4ea350f 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: f1168d1e20 ("octeontx2-af: Add devlink health reporters for NPA")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: George Cherian <george.cherian@marvell.com>
Link: https://lore.kernel.org/r/20201216123604.15369-1-colin.king@canonical.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-12-17 10:57:43 -08:00
..
af octeontx2-af: Fix undetected unmap PF error check 2020-12-17 10:57:43 -08:00
nic net: marvell: octeontx2: simplify the otx2_ptp_adjfine() 2020-12-09 17:05:37 -08:00
Kconfig octeontx2-af: Add devlink suppoort to af driver 2020-12-14 17:49:28 -08:00
Makefile octeontx2-pf: Add Marvell OcteonTX2 NIC driver 2020-01-27 14:33:39 +01:00