[Linux-stm32] [PATCH v2] net: stmmac: fix a possible endless loop

David Miller davem at davemloft.net
Thu Feb 6 14:50:25 UTC 2020


From: Dejin Zheng <zhengdejin5 at gmail.com>
Date: Thu,  6 Feb 2020 22:18:11 +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>
> ---
> 
> Vinod Koul and David Miller, Thanks for your comments!
> 
> V2:
> add an appropriate Fixes tag.

Please do not put an empty line between Fixes and other tags.

I have no idea why people often do this.

Anyways, Fixes and other tags are all tags and thus belong together as
an uninterrupted group of text.

Thank you.



More information about the Linux-stm32 mailing list