[PATCH net] net: stmmac: prevent division by 0 in stmmac_init_tstamp_counter()

Vadim Fedorenko vadim.fedorenko at linux.dev
Sun Sep 7 10:41:24 PDT 2025


On 05/09/2025 17:06, Sergey Shtylyov wrote:
> In stmmac_init_tstamp_counter(), the sec_inc variable is initialized to 0,
> and if stmmac_config_sub_second_increment() fails to set it to some non-0

How that can happen? Do you have real kernel oops log?





More information about the linux-arm-kernel mailing list