Re: [patch -mainline] amd-xgbe: fix a couple timeout loops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux