Re: [PATCH v3] net: stmmac: fix a possible endless loop

From: David Miller
Date: Fri Feb 07 2020 - 05:24:37 EST


From: Dejin Zheng <zhengdejin5@xxxxxxxxx>
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@xxxxxxxxx>
> Acked-by: Vinod Koul <vkoul@xxxxxxxxxx>

Applied and queued up for -stable, thank you.