git: kern ath drivers: Fix loops bounds (real bug x2) + source
John Marino
marino at crater.dragonflybsd.org
Tue Feb 10 18:02:52 PST 2015
commit 35f41e5c57e3b0c25ba342b7605756c251f6cce6
Author: John Marino <draco at marino.st>
Date: Wed Feb 11 02:59:18 2015 +0100
kern ath drivers: Fix loops bounds (real bug x2) + source
The ar9300 source had a couple of logic ambiguities causing
[-Werror=logical-not-parenthesis] warnings. The other two used the
wrong variable for the upper bounds of the loop. I assume it was
correct once but the code changed, and the author neglected to use the
next edges max value.
Summary of changes:
sys/contrib/dev/ath/ath_hal/ar9300/ar9300_ani.c | 4 ++--
sys/dev/netif/ath/ath_hal/ah_eeprom_9287.c | 4 ++--
sys/dev/netif/ath/ath_hal/ah_eeprom_v4k.c | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/35f41e5c57e3b0c25ba342b7605756c251f6cce6
--
DragonFly BSD source repository
More information about the Commits
mailing list