Skip to content

Commit 3f2176d

Browse files
Colin Ian Kingdavem330
Colin Ian King
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 924613d commit 3f2176d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/net/ethernet/qlogic/qede/qede_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ int __init qede_init(void)
288288
}
289289

290290
/* Must register notifier before pci ops, since we might miss
291-
* interface rename after pci probe and netdev registeration.
291+
* interface rename after pci probe and netdev registration.
292292
*/
293293
ret = register_netdevice_notifier(&qede_netdev_notifier);
294294
if (ret) {
@@ -988,7 +988,7 @@ static int __qede_probe(struct pci_dev *pdev, u32 dp_module, u8 dp_level,
988988
if (rc)
989989
goto err3;
990990

991-
/* Prepare the lock prior to the registeration of the netdev,
991+
/* Prepare the lock prior to the registration of the netdev,
992992
* as once it's registered we might reach flows requiring it
993993
* [it's even possible to reach a flow needing it directly
994994
* from there, although it's unlikely].

drivers/net/ethernet/qlogic/qede/qede_ptp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ int qede_ptp_enable(struct qede_dev *edev, bool init_tc)
485485
ptp->clock = ptp_clock_register(&ptp->clock_info, &edev->pdev->dev);
486486
if (IS_ERR(ptp->clock)) {
487487
rc = -EINVAL;
488-
DP_ERR(edev, "PTP clock registeration failed\n");
488+
DP_ERR(edev, "PTP clock registration failed\n");
489489
goto err2;
490490
}
491491

0 commit comments

Comments
 (0)