diff options
| author | Arnd Bergmann <[email protected]> | 2016-03-14 15:07:10 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-03-14 13:06:26 -0400 |
| commit | 6aab1a628b99bc1350673e5191a21571626cade3 (patch) | |
| tree | 5dfb16a70a3970833277a2f94bcf5232202714ce /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 34b88a68f26a75e4fded796f1a49c40f82234b7d (diff) | |
net: mediatek: use dma_addr_t correctly
dma_alloc_coherent() expects a dma_addr_t pointer as its argument,
not an 'unsigned int', and gcc correctly warns about broken
code in the mtk_init_fq_dma function:
drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function 'mtk_init_fq_dma':
drivers/net/ethernet/mediatek/mtk_eth_soc.c:463:13: error: passing argument 3 of 'dma_alloc_coherent' from incompatible pointer type [-Werror=incompatible-pointer-types]
This changes the type of the local variable to dma_addr_t.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions