aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vxge/vxge-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/vxge/vxge-main.c')
-rw-r--r--drivers/net/vxge/vxge-main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/vxge/vxge-main.c b/drivers/net/vxge/vxge-main.c
index e21358e82c74..f1c4b2a1e867 100644
--- a/drivers/net/vxge/vxge-main.c
+++ b/drivers/net/vxge/vxge-main.c
@@ -2510,9 +2510,9 @@ static int vxge_add_isr(struct vxgedev *vdev)
2510 } 2510 }
2511 2511
2512 /* Point to next vpath handler */ 2512 /* Point to next vpath handler */
2513 if (((intr_idx + 1) % VXGE_HW_VPATH_MSIX_ACTIVE == 0) 2513 if (((intr_idx + 1) % VXGE_HW_VPATH_MSIX_ACTIVE == 0) &&
2514 && (vp_idx < (vdev->no_of_vpath - 1))) 2514 (vp_idx < (vdev->no_of_vpath - 1)))
2515 vp_idx++; 2515 vp_idx++;
2516 } 2516 }
2517 2517
2518 intr_cnt = vdev->max_vpath_supported * 2; 2518 intr_cnt = vdev->max_vpath_supported * 2;