diff options
author | Beniamino Galvani <b.galvani@gmail.com> | 2016-05-08 08:30:15 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-27 15:39:46 -0400 |
commit | 0e1a3e30deb089cba3f1c01a48443cf8a86b5398 (patch) | |
tree | da922751f8ceb28cf3f078813d6764a65446bb08 /drivers/serial/serial.c | |
parent | 5a07abb3705f561221e7ae351beba746b6ae6eb7 (diff) | |
download | talos-obmc-uboot-0e1a3e30deb089cba3f1c01a48443cf8a86b5398.tar.gz talos-obmc-uboot-0e1a3e30deb089cba3f1c01a48443cf8a86b5398.zip |
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: Beniamino Galvani <b.galvani@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon 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: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/serial/serial.c')
0 files changed, 0 insertions, 0 deletions