Skip to content
Commit e02e0bd2 authored by Soby Mathew's avatar Soby Mathew
Browse files

fix(granules): Properly check granule alignment on granule_addr()



The commit aecad126 introduced a check to ensure that
`struct granule *` parameter is aligned to the sizeof struct
granule. But 'granules' array might not be aligned to struct
granule size and hence introduced a regression. This is now
fixed and the assertion check in granule_addr() takes this
into account.

Signed-off-by: Soby Mathew's avatarSoby Mathew <soby.mathew@arm.com>
Change-Id: Ie75f099c1423140f7e4828603ecd92692fc2452d
Signed-off-by: Javier Almansa Sobrino's avatarJavier Almansa Sobrino <javier.almansasobrino@arm.com>
parent 519ca981
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment