From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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.carpenter@xxxxxxxxxx> Applied. -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html