diff options
author | Johannes Zink <j.zink@pengutronix.de> | 2023-10-10 19:24:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-13 11:22:03 +0100 |
commit | 895359b8c1e74e4b9190f9ac56b280cfd1edeea5 (patch) | |
tree | 83302a4d968cb29341a0f6f4a41099f726cb552d /drivers/net/ethernet/stmicro | |
parent | 6151ff9c75210c0f9d3d9ddcd3de6325de12c2a0 (diff) | |
download | lwn-895359b8c1e74e4b9190f9ac56b280cfd1edeea5.tar.gz lwn-895359b8c1e74e4b9190f9ac56b280cfd1edeea5.zip |
net: stmmac: fix typo in comment
This is just a trivial fix for a typo in a comment, no functional
changes.
Signed-off-by: Johannes Zink <j.zink@pengutronix.de>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c index 3d7825cb30bb..1be06b96c35f 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c @@ -81,7 +81,7 @@ static int stmmac_adjust_time(struct ptp_clock_info *ptp, s64 delta) stmmac_adjust_systime(priv, priv->ptpaddr, sec, nsec, neg_adj, xmac); write_unlock_irqrestore(&priv->ptp_lock, flags); - /* Caculate new basetime and re-configured EST after PTP time adjust. */ + /* Calculate new basetime and re-configured EST after PTP time adjust. */ if (est_rst) { struct timespec64 current_time, time; ktime_t current_time_ns, basetime; |