summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorJose Abreu <Jose.Abreu@synopsys.com>2017-10-20 14:37:36 +0100
committerDavid S. Miller <davem@davemloft.net>2017-10-22 02:50:40 +0100
commit9454360dec1c96800576693955b92a2792b74def (patch)
tree906675b01e13a79b89ec716663174890d01a8d16 /drivers/ata
parent98870943a561c64aca22d10820a881aa4fa728e4 (diff)
downloadlinux-9454360dec1c96800576693955b92a2792b74def.tar.bz2
net: stmmac: Prevent infinite loop in get_rx_timestamp_status()
Prevent infinite loop by correctly setting the loop condition to break when i == 10. Signed-off-by: Jose Abreu <joabreu@synopsys.com> Cc: David S. Miller <davem@davemloft.net> Cc: Joao Pinto <jpinto@synopsys.com> Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com> Cc: Alexandre Torgue <alexandre.torgue@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions