mirror of https://gitee.com/openkylin/linux.git
qede: fix spelling mistake: "registeration" -> "registration"
Trivial fix to spelling mistakes in DP_ERR error message text and comments Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
924613d3a8
commit
3f2176dd7f
|
@ -288,7 +288,7 @@ int __init qede_init(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Must register notifier before pci ops, since we might miss
|
/* Must register notifier before pci ops, since we might miss
|
||||||
* interface rename after pci probe and netdev registeration.
|
* interface rename after pci probe and netdev registration.
|
||||||
*/
|
*/
|
||||||
ret = register_netdevice_notifier(&qede_netdev_notifier);
|
ret = register_netdevice_notifier(&qede_netdev_notifier);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
@ -988,7 +988,7 @@ static int __qede_probe(struct pci_dev *pdev, u32 dp_module, u8 dp_level,
|
||||||
if (rc)
|
if (rc)
|
||||||
goto err3;
|
goto err3;
|
||||||
|
|
||||||
/* Prepare the lock prior to the registeration of the netdev,
|
/* Prepare the lock prior to the registration of the netdev,
|
||||||
* as once it's registered we might reach flows requiring it
|
* as once it's registered we might reach flows requiring it
|
||||||
* [it's even possible to reach a flow needing it directly
|
* [it's even possible to reach a flow needing it directly
|
||||||
* from there, although it's unlikely].
|
* from there, although it's unlikely].
|
||||||
|
|
|
@ -485,7 +485,7 @@ int qede_ptp_enable(struct qede_dev *edev, bool init_tc)
|
||||||
ptp->clock = ptp_clock_register(&ptp->clock_info, &edev->pdev->dev);
|
ptp->clock = ptp_clock_register(&ptp->clock_info, &edev->pdev->dev);
|
||||||
if (IS_ERR(ptp->clock)) {
|
if (IS_ERR(ptp->clock)) {
|
||||||
rc = -EINVAL;
|
rc = -EINVAL;
|
||||||
DP_ERR(edev, "PTP clock registeration failed\n");
|
DP_ERR(edev, "PTP clock registration failed\n");
|
||||||
goto err2;
|
goto err2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue