Page MenuHomeFreeBSD

axgbe: use bit_foreach
ClosedPublic

Authored by dougm on Jul 18 2024, 10:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 4 2024, 12:27 AM
Unknown Object (File)
Dec 2 2024, 3:03 PM
Unknown Object (File)
Nov 28 2024, 5:12 AM
Unknown Object (File)
Nov 25 2024, 12:15 AM
Unknown Object (File)
Nov 20 2024, 2:52 AM
Unknown Object (File)
Nov 2 2024, 9:59 PM
Unknown Object (File)
Nov 2 2024, 7:56 AM
Unknown Object (File)
Nov 1 2024, 11:46 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.