From: Dan Carpenter <dan.carpen...@oracle.com>
Date: Tue, 15 Dec 2015 13:12:29 +0300

> At the end of the loop we test "if (!count)" but because "count--" is
> a post-op then the loop will end with count set to -1.  I have fixed
> this by changing it to --count.
> 
> Fixes: c5aa9e3b8156 ('amd-xgbe: Initial AMD 10GbE platform driver')
> Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to