From: Thierry Reding
While the current code is correct and the compiler's DCE pass should
remove either of the branches depending on the width of DMA addresses,
the compiler still has to compile the code first.
On configurations with 32-bit DMA addresses, right-shifting the address
by 32 causes
Looks good to me. Thanks!
Reviewed-by: Sinclair Yeh
On Fri, Jun 03, 2016 at 05:47:13PM +0200, Thierry Reding wrote:
> From: Thierry Reding
>
> While the current code is correct and the compiler's DCE pass should
> remove either of the branches depending on the width of DMA addresses,
> the co