git: if_ath: use a single-bit mask for sync interrupt counters
Aaron LI
aly at crater.dragonflybsd.org
Thu Oct 8 21:54:52 PDT 2026
commit f426f4f897789db9f823031b6e7db6487421b1af
Author: David Bidner <david at crap.solutions>
Date: Wed Oct 7 10:30:22 2026 +0200
if_ath: use a single-bit mask for sync interrupt counters
Select bit i with 1U << i rather than i << i. The unsigned mask also
avoids signed left-shift overflow when selecting bit31.
Reported-by: dcb
Bug: https://bugs.dragonflybsd.org/issues/3022
Summary of changes:
sys/dev/netif/ath/ath/if_ath.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f426f4f897789db9f823031b6e7db6487421b1af
--
DragonFly BSD source repository
More information about the Commits
mailing list