git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drivers/octeontx2: fix Coverity warnings
[dpdk.git]
/
drivers
/
common
/
octeontx2
/
otx2_dev.c
diff --git
a/drivers/common/octeontx2/otx2_dev.c
b/drivers/common/octeontx2/otx2_dev.c
index
f58a6e7
..
9102709
100644
(file)
--- a/
drivers/common/octeontx2/otx2_dev.c
+++ b/
drivers/common/octeontx2/otx2_dev.c
@@
-791,9
+791,8
@@
otx2_pf_vf_flr_irq(void *param)
if (!(intr & (1ULL << vf)))
continue;
if (!(intr & (1ULL << vf)))
continue;
- vf = 64 * i + vf;
otx2_base_dbg("FLR: i :%d intr: 0x%" PRIx64 ", vf-%d",
otx2_base_dbg("FLR: i :%d intr: 0x%" PRIx64 ", vf-%d",
- i, intr,
vf
);
+ i, intr,
(64 * i + vf)
);
/* Clear interrupt */
otx2_write64(BIT_ULL(vf), bar2 + RVU_PF_VFFLR_INTX(i));
/* Disable the interrupt */
/* Clear interrupt */
otx2_write64(BIT_ULL(vf), bar2 + RVU_PF_VFFLR_INTX(i));
/* Disable the interrupt */