rtw89(4) uses a static_assert() with hweight<n> calls. In order to
avoid compile time errors, deal with the case when the arguments to
hweight<n> are complie time constant.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential D54806
LinuxKPI: improve hweight<n> if complie time constant Authored by bz on Tue, Jan 20, 10:59 PM.
Details
rtw89(4) uses a static_assert() with hweight<n> calls. In order to Sponsored by: The FreeBSD Foundation
Diff Detail
|