Commit a7b36d5f authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Jason Gunthorpe

ib/bnxt: Remove mention of idr_alloc from comment

Signed-off-by: default avatarMatthew Wilcox <willy@infradead.org>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 1d045aa7
...@@ -3658,7 +3658,7 @@ int bnxt_re_alloc_ucontext(struct ib_ucontext *ctx, struct ib_udata *udata) ...@@ -3658,7 +3658,7 @@ int bnxt_re_alloc_ucontext(struct ib_ucontext *ctx, struct ib_udata *udata)
resp.chip_id0 = chip_met_rev_num; resp.chip_id0 = chip_met_rev_num;
/* Future extension of chip info */ /* Future extension of chip info */
resp.chip_id1 = 0; resp.chip_id1 = 0;
/*Temp, Use idr_alloc instead */ /*Temp, Use xa_alloc instead */
resp.dev_id = rdev->en_dev->pdev->devfn; resp.dev_id = rdev->en_dev->pdev->devfn;
resp.max_qp = rdev->qplib_ctx.qpc_count; resp.max_qp = rdev->qplib_ctx.qpc_count;
resp.pg_size = PAGE_SIZE; resp.pg_size = PAGE_SIZE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment