From: Dan Carpenter <[email protected]>
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 <[email protected]>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html