OSDN Git Service

ib/bnxt: Remove mention of idr_alloc from comment
authorMatthew Wilcox <willy@infradead.org>
Thu, 21 Feb 2019 00:21:07 +0000 (16:21 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 25 Apr 2019 15:02:18 +0000 (12:02 -0300)
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/bnxt_re/ib_verbs.c

index 8cf2550..3fcc77c 100644 (file)
@@ -3658,7 +3658,7 @@ int bnxt_re_alloc_ucontext(struct ib_ucontext *ctx, struct ib_udata *udata)
        resp.chip_id0 = chip_met_rev_num;
        /* Future extension of chip info */
        resp.chip_id1 = 0;
-       /*Temp, Use idr_alloc instead */
+       /*Temp, Use xa_alloc instead */
        resp.dev_id = rdev->en_dev->pdev->devfn;
        resp.max_qp = rdev->qplib_ctx.qpc_count;
        resp.pg_size = PAGE_SIZE;