Messages in this thread | | | Subject | Re: [PATCH net-next v3 2/4] net: ipa: use upper_32_bits() | From | Florian Fainelli <> | Date | Thu, 18 Mar 2021 14:35:05 -0700 |
| |
On 3/18/2021 11:59 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. Use lower_32_bits() to > extract the low-order 32 bits (because that's what it's for). > > Suggested-by: Florian Fainelli <f.fainelli@gmail.com> > Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian
| |