Page MenuHomeFreeBSD

axgbe: use bit_foreach
ClosedPublic

Authored by dougm on Jul 18 2024, 10:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 14, 2:51 PM
Unknown Object (File)
Wed, Feb 12, 8:13 PM
Unknown Object (File)
Sun, Jan 26, 10:06 PM
Unknown Object (File)
Sat, Jan 25, 9:03 PM
Unknown Object (File)
Sat, Jan 25, 9:03 PM
Unknown Object (File)
Jan 11 2025, 4:58 AM
Unknown Object (File)
Dec 4 2024, 12:27 AM
Unknown Object (File)
Dec 2 2024, 3:03 PM
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.