1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/marvell/octeontx2/af
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
..
cgx.c octeontx2-af: Map NIX block from CGX connection 2020-10-31 14:16:46 -07:00
cgx.h octeontx2-af: Map NIX block from CGX connection 2020-10-31 14:16:46 -07:00
cgx_fw_if.h octeontx2-af: Optimize data retrieval from firmware 2020-03-02 11:08:51 -08:00
common.h octeontx2-af: Add mbox messages to install and delete MCAM rules 2020-11-17 13:48:20 -08:00
Makefile octeontx2-af: Add devlink suppoort to af driver 2020-12-14 17:49:28 -08:00
mbox.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-10-05 18:40:01 -07:00
mbox.h octeontx2-af: Add support for RSS hashing based on Transport protocol field 2020-11-21 16:05:22 -08:00
npc.h octeontx2-pf: Add support for SR-IOV management functions 2020-11-17 13:48:21 -08:00
npc_profile.h octeontx2-af: Modify default KEX profile to extract TX packet fields 2020-11-17 13:48:20 -08:00
ptp.c octeontx2-af: Add support for Marvell PTP coprocessor 2020-08-24 18:15:45 -07:00
ptp.h octeontx2-af: Add support for Marvell PTP coprocessor 2020-08-24 18:15:45 -07:00
rvu.c octeontx2-af: Add devlink suppoort to af driver 2020-12-14 17:49:28 -08:00
rvu.h octeontx2-af: Add devlink suppoort to af driver 2020-12-14 17:49:28 -08:00
rvu_cgx.c octeontx2-af: Map NIX block from CGX connection 2020-10-31 14:16:46 -07:00
rvu_cpt.c octeontx2-af: add mailbox interface for CPT 2020-11-20 11:01:13 -08:00
rvu_debugfs.c octeontx2-af: debugfs: delete dead code 2020-12-02 12:00:55 -08:00
rvu_devlink.c octeontx2-af: Fix undetected unmap PF error check 2020-12-17 10:57:43 -08:00
rvu_devlink.h octeontx2-af: Add devlink health reporters for NPA 2020-12-14 17:49:28 -08:00
rvu_nix.c octeontx2-af: Add support for RSS hashing based on Transport protocol field 2020-11-21 16:05:22 -08:00
rvu_npa.c net: marvell: octeontx2: simplify the return expression of rvu_npa_init() 2020-12-09 17:05:36 -08:00
rvu_npc.c octeontx2-af: Delete NIX_RXVLAN_ALLOC mailbox message 2020-11-17 13:48:21 -08:00
rvu_npc_fs.c octeontx2-af: Fix access of iter->entry after iter object has been kfree'd 2020-11-20 11:07:57 -08:00
rvu_reg.c octeontx2-af: Mbox changes for 98xx 2020-10-31 14:16:47 -07:00
rvu_reg.h octeontx2-af: add mailbox interface for CPT 2020-11-20 11:01:13 -08:00
rvu_struct.h octeontx2-af: Add devlink health reporters for NPA 2020-12-14 17:49:28 -08:00
rvu_trace.c octeontx2-af: Introduce tracepoints for mailbox 2020-09-23 17:35:26 -07:00
rvu_trace.h octeontx2-af: Introduce tracepoints for mailbox 2020-09-23 17:35:26 -07:00