[PATCH net] net: ethernet: mtk_eth_soc: fix NULL pointer on hw reset

Jakub Kicinski kuba at kernel.org
Fri Aug 18 18:33:13 PDT 2023


On Thu, 17 Aug 2023 13:01:11 +0100 Daniel Golle wrote:
> Initialize the hw_list will 0s and break out of both functions in case
> a hw_list entry is 0.

Static variables are always initialized to 0, I don't think that part
is need.
-- 
pw-bot: cr



More information about the Linux-mediatek mailing list