net: stmmac: fix typo in comment
authorJohannes Zink <j.zink@pengutronix.de>
Tue, 10 Oct 2023 17:24:15 +0000 (19:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Oct 2023 10:22:03 +0000 (11:22 +0100)
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>
drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c

index 3d7825cb30bb1dbd022fc49c61713d6663ffe8c4..1be06b96c35feb83c44a23cd34df7c98c722fd33 100644 (file)
@@ -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;