]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/octeontx2/otx2_dev.c
drivers/octeontx2: fix Coverity warnings
[dpdk.git] / drivers / common / octeontx2 / otx2_dev.c
index f58a6e72593741b622e7cf7bcf896aa33cd5380b..910270975562aeecd4abf55cef2d98ca14da65e2 100644 (file)
@@ -791,9 +791,8 @@ otx2_pf_vf_flr_irq(void *param)
                        if (!(intr & (1ULL << vf)))
                                continue;
 
-                       vf = 64 * i + vf;
                        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 */