HomeFreeBSD

MFC r350371

Description

MFC r350371

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

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

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

Reported by: Andrea Valsania <andrea.valsania at answervad.it>
Sponsored by: Solarflare Communications, Inc.

Details

Provenance
arybchikAuthored on
Parents
rS350406: MFC r350370
Branches
Unknown
Tags
Unknown