[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 12 Dec 2022 23:20:15 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Piergiorgio Beruto <piergiorgio.beruto@...il.com>
Cc: peppe.cavallaro@...com, alexandre.torgue@...s.st.com,
joabreu@...opsys.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, mcoquelin.stm32@...il.com,
richardcochran@...il.com, julien.beraud@...lia.com,
netdev@...r.kernel.org, andrew@...n.ch
Subject: Re: [PATCH v2 net 1/1] stmmac: fix potential division by 0
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Sat, 10 Dec 2022 23:37:22 +0100 you wrote:
> When the MAC is connected to a 10 Mb/s PHY and the PTP clock is derived
> from the MAC reference clock (default), the clk_ptp_rate becomes too
> small and the calculated sub second increment becomes 0 when computed by
> the stmmac_config_sub_second_increment() function within
> stmmac_init_tstamp_counter().
>
> Therefore, the subsequent div_u64 in stmmac_init_tstamp_counter()
> operation triggers a divide by 0 exception as shown below.
>
> [...]
Here is the summary with links:
- [v2,net,1/1] stmmac: fix potential division by 0
https://git.kernel.org/netdev/net/c/ede5a389852d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists