diff options
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/eq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/eq.c b/drivers/net/ethernet/mellanox/mlx4/eq.c index 3b6f8efbf141..bce98d9c0039 100644 --- a/drivers/net/ethernet/mellanox/mlx4/eq.c +++ b/drivers/net/ethernet/mellanox/mlx4/eq.c | |||
@@ -426,7 +426,7 @@ static int mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq) | |||
426 | 426 | ||
427 | mlx4_dbg(dev, "FLR event for slave: %d\n", flr_slave); | 427 | mlx4_dbg(dev, "FLR event for slave: %d\n", flr_slave); |
428 | 428 | ||
429 | if (flr_slave > dev->num_slaves) { | 429 | if (flr_slave >= dev->num_slaves) { |
430 | mlx4_warn(dev, | 430 | mlx4_warn(dev, |
431 | "Got FLR for unknown function: %d\n", | 431 | "Got FLR for unknown function: %d\n", |
432 | flr_slave); | 432 | flr_slave); |