Message ID | 20231010172415.552748-1-j.zink@pengutronix.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [net-next] net: stmmac: fix typo in comment | expand |
On Tue, Oct 10, 2023 at 07:24:15PM +0200, Johannes Zink wrote: > This is just a trivial fix for a typo in a comment, no functional > changes. > > Signed-off-by: Johannes Zink <j.zink@pengutronix.de> Thanks, I checked and codespell doesn't flag any other spelling errors in this file. Reviewed-by: Simon Horman <horms@kernel.org>
Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller <davem@davemloft.net>: On Tue, 10 Oct 2023 19:24:15 +0200 you wrote: > This is just a trivial fix for a typo in a comment, no functional > changes. > > Signed-off-by: Johannes Zink <j.zink@pengutronix.de> > --- > drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Here is the summary with links: - [net-next] net: stmmac: fix typo in comment https://git.kernel.org/netdev/net-next/c/895359b8c1e7 You are awesome, thank you!
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c index 60b6b4a180d7..a5320c9556b5 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;
This is just a trivial fix for a typo in a comment, no functional changes. Signed-off-by: Johannes Zink <j.zink@pengutronix.de> --- drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)