diff options
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_uar.c')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_uar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_uar.c b/drivers/infiniband/hw/mthca/mthca_uar.c index 8e9219842be4..8b728486410d 100644 --- a/drivers/infiniband/hw/mthca/mthca_uar.c +++ b/drivers/infiniband/hw/mthca/mthca_uar.c | |||
@@ -60,7 +60,7 @@ int mthca_init_uar_table(struct mthca_dev *dev) | |||
60 | ret = mthca_alloc_init(&dev->uar_table.alloc, | 60 | ret = mthca_alloc_init(&dev->uar_table.alloc, |
61 | dev->limits.num_uars, | 61 | dev->limits.num_uars, |
62 | dev->limits.num_uars - 1, | 62 | dev->limits.num_uars - 1, |
63 | dev->limits.reserved_uars); | 63 | dev->limits.reserved_uars + 1); |
64 | if (ret) | 64 | if (ret) |
65 | return ret; | 65 | return ret; |
66 | 66 | ||