[Linux-stm32] [PATCH v3] net: stmmac: fix a possible endless loop
David Miller
davem at davemloft.net
Fri Feb 7 10:24:32 UTC 2020
From: Dejin Zheng <zhengdejin5 at gmail.com>
Date: Thu, 6 Feb 2020 23:29:17 +0800
> It forgot to reduce the value of the variable retry in a while loop
> in the ethqos_configure() function. It may cause an endless loop and
> without timeout.
>
> Fixes: a7c30e62d4b8 ("net: stmmac: Add driver for Qualcomm ethqos")
> Signed-off-by: Dejin Zheng <zhengdejin5 at gmail.com>
> Acked-by: Vinod Koul <vkoul at kernel.org>
Applied and queued up for -stable, thank you.
More information about the Linux-stm32
mailing list