diff options
author | Jose Abreu <[email protected]> | 2017-10-20 14:37:36 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-10-22 02:50:40 +0100 |
commit | 9454360dec1c96800576693955b92a2792b74def (patch) | |
tree | 906675b01e13a79b89ec716663174890d01a8d16 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 98870943a561c64aca22d10820a881aa4fa728e4 (diff) |
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 <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Joao Pinto <[email protected]>
Cc: Giuseppe Cavallaro <[email protected]>
Cc: Alexandre Torgue <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions