Skip to content
Commit 7d10f077 authored by Dejin Zheng's avatar Dejin Zheng Committed by David S. Miller
Browse files

net: stmmac: fix a possible endless loop



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: a7c30e62 ("net: stmmac: Add driver for Qualcomm ethqos")
Signed-off-by: default avatarDejin Zheng <zhengdejin5@gmail.com>
Acked-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 963485d4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment