Skip to content
Commit 0e1a3e30 authored by Beniamino Galvani's avatar Beniamino Galvani Committed by Tom Rini
Browse files

net: designware: fix descriptor layout and warnings on 64-bit archs



All members of the DMA descriptor must be 32-bit, even on 64-bit
architectures: change the type to u32 to ensure this. Also, fix
other warnings.

Signed-off-by: default avatarBeniamino Galvani <b.galvani@gmail.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
[trini: Use phys_addr_t not unsigned long long to test that we're within
DMA'able memory]
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent 5a07abb3
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