Skip to content

Commit d1d7fc3

Browse files
ColinIanKingjgunthorpe
authored andcommitted
RDMA/bnxt_re: Fix spelling mistake "priviledged" -> "privileged"
There is a spelling mistake in a comment and in a dev_err error message. Fix them. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent 0ab83a6 commit d1d7fc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/infiniband/hw/bnxt_re/qplib_res.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ int bnxt_qplib_alloc_dpi(struct bnxt_qplib_res *res,
734734

735735
switch (type) {
736736
case BNXT_QPLIB_DPI_TYPE_KERNEL:
737-
/* priviledged dbr was already mapped just initialize it. */
737+
/* privileged dbr was already mapped just initialize it. */
738738
dpi->umdbr = dpit->ucreg.bar_base +
739739
dpit->ucreg.offset + bit_num * PAGE_SIZE;
740740
dpi->dbr = dpit->priv_db;
@@ -940,7 +940,7 @@ int bnxt_qplib_map_db_bar(struct bnxt_qplib_res *res)
940940
}
941941
ucreg->bar_reg = ioremap(ucreg->bar_base, ucreg->len);
942942
if (!ucreg->bar_reg) {
943-
dev_err(&res->pdev->dev, "priviledged dpi map failed!");
943+
dev_err(&res->pdev->dev, "privileged dpi map failed!");
944944
return -ENOMEM;
945945
}
946946

0 commit comments

Comments
 (0)