Skip to content

Commit

Permalink
net/nfp: correct misspellings
Browse files Browse the repository at this point in the history
Correction of misspellings in logs.

Signed-off-by: Zerun Fu <zerun.fu@corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Peng Zhang <peng.zhang@corigine.com>
  • Loading branch information
zerun-fu authored and ferruhy committed Oct 19, 2024
1 parent 60ff39f commit 9be7906
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions drivers/net/nfp/flower/nfp_flower.c
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ nfp_init_app_fw_flower(struct nfp_net_hw_priv *hw_priv)
pf_dev->ctrl_bar = nfp_rtsym_map(pf_dev->sym_tbl, bar_name,
pf_dev->ctrl_bar_size, &pf_dev->ctrl_area);
if (pf_dev->ctrl_bar == NULL) {
PMD_INIT_LOG(ERR, "Cloud not map the PF vNIC ctrl bar.");
PMD_INIT_LOG(ERR, "Could not map the PF vNIC ctrl bar.");
ret = -ENODEV;
goto vnic_cleanup;
}
Expand Down Expand Up @@ -739,7 +739,7 @@ nfp_init_app_fw_flower(struct nfp_net_hw_priv *hw_priv)
ctrl_hw->super.ctrl_bar = nfp_rtsym_map(pf_dev->sym_tbl, ctrl_name,
pf_dev->ctrl_bar_size, &ctrl_hw->ctrl_area);
if (ctrl_hw->super.ctrl_bar == NULL) {
PMD_INIT_LOG(ERR, "Cloud not map the ctrl vNIC ctrl bar.");
PMD_INIT_LOG(ERR, "Could not map the ctrl vNIC ctrl bar.");
ret = -ENODEV;
goto pf_cpp_area_cleanup;
}
Expand Down
6 changes: 3 additions & 3 deletions drivers/net/nfp/flower/nfp_flower_representor.c
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ nfp_flower_repr_alloc(struct nfp_app_fw_flower *app_fw_flower,
/* Send a NFP_FLOWER_CMSG_TYPE_MAC_REPR cmsg to hardware */
ret = nfp_flower_cmsg_mac_repr(app_fw_flower, pf_dev);
if (ret != 0) {
PMD_INIT_LOG(ERR, "Cloud not send mac repr cmsgs.");
PMD_INIT_LOG(ERR, "Could not send mac repr cmsgs.");
return ret;
}

Expand Down Expand Up @@ -878,7 +878,7 @@ nfp_flower_repr_alloc(struct nfp_app_fw_flower *app_fw_flower,
sizeof(struct nfp_flower_representor),
NULL, NULL, nfp_flower_repr_init, &repr_init);
if (ret != 0) {
PMD_INIT_LOG(ERR, "Cloud not create eth_dev for repr.");
PMD_INIT_LOG(ERR, "Could not create eth_dev for repr.");
break;
}
}
Expand Down Expand Up @@ -909,7 +909,7 @@ nfp_flower_repr_alloc(struct nfp_app_fw_flower *app_fw_flower,
sizeof(struct nfp_flower_representor),
NULL, NULL, nfp_flower_repr_init, &repr_init);
if (ret != 0) {
PMD_INIT_LOG(ERR, "Cloud not create eth_dev for repr.");
PMD_INIT_LOG(ERR, "Could not create eth_dev for repr.");
break;
}
}
Expand Down

0 comments on commit 9be7906

Please sign in to comment.