Page MenuHomeFreeBSD

axgbe: use bit_foreach
ClosedPublic

Authored by dougm on Jul 18 2024, 10:29 PM.
Tags
None
Referenced Files
F112755998: D46037.id142021.diff
Sat, Mar 22, 9:16 AM
Unknown Object (File)
Fri, Feb 21, 7:36 PM
Unknown Object (File)
Feb 20 2025, 10:45 PM
Unknown Object (File)
Feb 14 2025, 2:51 PM
Unknown Object (File)
Feb 12 2025, 8:13 PM
Unknown Object (File)
Jan 26 2025, 10:06 PM
Unknown Object (File)
Jan 25 2025, 9:03 PM
Unknown Object (File)
Jan 25 2025, 9: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.