On 3/18/21 11:03 AM, Florian Fainelli wrote:
On 3/18/2021 6:51 AM, Alex Elder wrote:
Use upper_32_bits() to extract the high-order 32 bits of a DMA
address. This avoids doing a 32-position shift on a DMA address
if it happens not to be 64 bits wide.
Suggested-by: Florian Fainelli
Signed-off
On 3/18/2021 6:51 AM, Alex Elder wrote:
> Use upper_32_bits() to extract the high-order 32 bits of a DMA
> address. This avoids doing a 32-position shift on a DMA address
> if it happens not to be 64 bits wide.
>
> Suggested-by: Florian Fainelli
> Signed-off-by: Alex Elder
> ---
> v2: - Swit
Use upper_32_bits() to extract the high-order 32 bits of a DMA
address. This avoids doing a 32-position shift on a DMA address
if it happens not to be 64 bits wide.
Suggested-by: Florian Fainelli
Signed-off-by: Alex Elder
---
v2: - Switched to use the existing function, as suggested by Florian.
3 matches
Mail list logo