HomeFreeBSD

MFC r350369

Description

MFC r350369

sfxge(4): fix power of 2 round up when align has smaller type

Substitute driver-defined P2ROUNDUP() h with EFX_P2ROUNDUP()
defined in libefx.

Cast value and alignment to one specified type to guarantee result
correctness.

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

Details

Provenance
arybchikAuthored on
Parents
rS350408: arm: ti: Get the hwmods property either from the node or the parent
Branches
Unknown
Tags
Unknown