Page MenuHomeFreeBSD

axgbe: use bit_foreach
ClosedPublic

Authored by dougm on Jul 18 2024, 10:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 25, 4:48 PM
Unknown Object (File)
Sat, Nov 22, 9:36 PM
Unknown Object (File)
Nov 20 2025, 4:21 PM
Unknown Object (File)
Nov 20 2025, 4:18 PM
Unknown Object (File)
Nov 20 2025, 4:18 PM
Unknown Object (File)
Nov 20 2025, 4:18 PM
Unknown Object (File)
Nov 20 2025, 4:07 PM
Unknown Object (File)
Nov 18 2025, 3:18 AM
Subscribers

Details

Summary

bitstring.h includes a definition of bit_foreach, for iterating over the set bits of a bitstring. axgbe implements its own version of this for bitstrings. Drop it, and use the bitstring method.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dougm created this revision.
des requested changes to this revision.Aug 9 2024, 3:14 PM
des added inline comments.
sys/dev/axgbe/xgbe-dev.c
829
This revision now requires changes to proceed.Aug 9 2024, 3:14 PM
This revision is now accepted and ready to land.Aug 12 2024, 8:34 PM
This revision was automatically updated to reflect the committed changes.