mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
bnxt(4): Fix typos in a comment and a kernel message
- s/priviledged/privileged/ (cherry picked from commit 74eb496c1019f702a28b4fa757f1139fbcf44895)
This commit is contained in:
parent
5443e2fb1a
commit
ab511ac2ed
1 changed files with 2 additions and 2 deletions
|
|
@ -875,7 +875,7 @@ int bnxt_qplib_alloc_dpi(struct bnxt_qplib_res *res,
|
|||
dpi->umdbr = umaddr;
|
||||
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;
|
||||
|
|
@ -1150,7 +1150,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!\n");
|
||||
dev_err(&res->pdev->dev, "privileged dpi map failed!\n");
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue