diff options
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r-- | drivers/infiniband/hw/mlx4/cq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx4/cq.c b/drivers/infiniband/hw/mlx4/cq.c index a3c5af1d7ec0..de5263beab4a 100644 --- a/drivers/infiniband/hw/mlx4/cq.c +++ b/drivers/infiniband/hw/mlx4/cq.c | |||
@@ -367,7 +367,7 @@ int mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) | |||
367 | if (err) | 367 | if (err) |
368 | goto out; | 368 | goto out; |
369 | } else { | 369 | } else { |
370 | /* Can't be smaller then the number of outstanding CQEs */ | 370 | /* Can't be smaller than the number of outstanding CQEs */ |
371 | outst_cqe = mlx4_ib_get_outstanding_cqes(cq); | 371 | outst_cqe = mlx4_ib_get_outstanding_cqes(cq); |
372 | if (entries < outst_cqe + 1) { | 372 | if (entries < outst_cqe + 1) { |
373 | err = 0; | 373 | err = 0; |