Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b9669094 authored by Matt Wagantall's avatar Matt Wagantall Committed by AnilKumar Chimata
Browse files

msm: sps: Make DESC_FULL_ADDR(flags, addr) provide a phys_addr_t result



By convention, both the 'flags' and 'addr' arguments passed to
DESC_FULL_ADDR() come from struct sps_iovec, and so neither of
these values are 64 bit types. To guarantee that the result of
DESC_FULL_ADDR() is large enough to contain at 64bit address,
add an explicit phys_addr_t cast inside the macro.

Change-Id: Ie1f0ba15448e4386761e60ea22251ceca246d86a
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent 18d73a21
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment