]> Git Repo - J-u-boot.git/commit - drivers/net/designware.c
net: designware: fix descriptor layout and warnings on 64-bit archs
authorBeniamino Galvani <[email protected]>
Sun, 8 May 2016 06:30:15 +0000 (08:30 +0200)
committerTom Rini <[email protected]>
Fri, 27 May 2016 19:39:46 +0000 (15:39 -0400)
commit0e1a3e30deb089cba3f1c01a48443cf8a86b5398
treeda922751f8ceb28cf3f078813d6764a65446bb08
parent5a07abb3705f561221e7ae351beba746b6ae6eb7
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 <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
[trini: Use phys_addr_t not unsigned long long to test that we're within
DMA'able memory]
Signed-off-by: Tom Rini <[email protected]>
drivers/net/designware.c
drivers/net/designware.h
This page took 0.035662 seconds and 4 git commands to generate.