diff options
author | Bharat Bhushan <bharat.bhushan@freescale.com> | 2013-04-23 10:24:33 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-04-24 15:32:53 (GMT) |
commit | 67e80eee6ed7474421f5e3b640ae78205a67c9a6 (patch) | |
tree | 7b4221e6e3d9ca261e3e82beb3060a0491bc708f /drivers/net/ethernet/freescale/dpa/dpaa_eth.h | |
parent | cdb68b89571ff7fa1eb4cd8c49d017c57e51b646 (diff) | |
download | linux-fsl-qoriq-67e80eee6ed7474421f5e3b640ae78205a67c9a6.tar.xz |
Fix the compilation error in MSI iova calculation
There were couple of issue:
- MSIIR address is uint64_t while it was passed to a function which expect
this to dma_addr_t. And dma_addr_t can be 32 bit also.
- do_div() expect uint64_t as first parameter while it was passed dma_addr_t.
Both of these changed be uint64_t.
Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Harninder Rai <harninder.rai@freescale.com>
Change-Id: Icca7eafef4fa63bc5daf355ebc0ba85a2111495a
Reviewed-on: http://git.am.freescale.net:8181/1732
Reviewed-by: Yoder Stuart-B08248 <stuart.yoder@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpa/dpaa_eth.h')
0 files changed, 0 insertions, 0 deletions