Page MenuHomeFreeBSD

sfxge(4): unify power of 2 alignment check macro
ClosedPublic

Authored by arybchik on Jul 26 2019, 3:02 PM.

Details

Summary

Substitute driver-defined IS_P2ALIGNED() with EFX_IS_P2ALIGNED()
defined in libefx.

Add type argument and cast value and alignment to one specified type.

Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days

Test Plan

amd64 tinderbox builds tested

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.