Colin Ian King 1d3028f4c1 net: stmmac: fix a broken u32 less than zero check
The check that queue is less or equal to zero is always true
because queue is a u32; queue is decremented and will wrap around
and never go -ve. Fix this by making queue an int.

Detected by CoverityScan, CID#1428988 ("Unsigned compared against 0")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-06 16:26:28 -04:00
..
2017-05-02 23:41:42 +03:00
2017-06-05 11:28:50 -04:00
2017-06-05 22:21:25 +03:00
2017-04-24 12:35:56 -04:00
2017-04-24 12:35:56 -04:00
2017-04-24 12:35:56 -04:00
2017-06-02 14:29:16 -04:00