aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2018-01-13 22:13:44 +0100
committerDavid S. Miller <[email protected]>2018-01-14 12:00:23 -0500
commit54f7bf7230520ef6f0c79ac507fef46e5d7aa7fb (patch)
treec36c1a1d7ec78f9d82030e62a928c02e3e3408e2 /lib/netdev-notifier-error-inject.c
parent6bd39bc3da0f4a301fae69c4a32db2768f5118be (diff)
net: netsec: use dma_addr_t for storing dma address
On targets that have different sizes for phys_addr_t and dma_addr_t, we get a type mismatch error: drivers/net/ethernet/socionext/netsec.c: In function 'netsec_alloc_dring': drivers/net/ethernet/socionext/netsec.c:970:9: error: passing argument 3 of 'dma_zalloc_coherent' from incompatible pointer type [-Werror=incompatible-pointer-types] The code is otherwise correct, as the address is never actually used as a physical address but only passed into a DMA register. For consistently, I'm changing the variable name as well, to clarify that this is a DMA address. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions