mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
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/20230626083535.53303-1-colin.i.king@gmail.com Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
This commit is contained in:
parent
0ab83a6459
commit
d1d7fc3bf6
|
|
@ -734,7 +734,7 @@ int bnxt_qplib_alloc_dpi(struct bnxt_qplib_res *res,
|
|||
|
||||
switch (type) {
|
||||
case BNXT_QPLIB_DPI_TYPE_KERNEL:
|
||||
/* priviledged dbr was already mapped just initialize it. */
|
||||
/* privileged dbr was already mapped just initialize it. */
|
||||
dpi->umdbr = dpit->ucreg.bar_base +
|
||||
dpit->ucreg.offset + bit_num * PAGE_SIZE;
|
||||
dpi->dbr = dpit->priv_db;
|
||||
|
|
@ -940,7 +940,7 @@ int bnxt_qplib_map_db_bar(struct bnxt_qplib_res *res)
|
|||
}
|
||||
ucreg->bar_reg = ioremap(ucreg->bar_base, ucreg->len);
|
||||
if (!ucreg->bar_reg) {
|
||||
dev_err(&res->pdev->dev, "priviledged dpi map failed!");
|
||||
dev_err(&res->pdev->dev, "privileged dpi map failed!");
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user