From: Johannes Zink Date: Tue, 10 Oct 2023 17:24:15 +0000 (+0200) Subject: net: stmmac: fix typo in comment X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=895359b8c1e74e4b9190f9ac56b280cfd1edeea5;p=linux.git 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 Reviewed-by: Simon Horman Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c index 3d7825cb30bb1..1be06b96c35fe 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;