diff options
| author | Arnd Bergmann <[email protected]> | 2022-06-07 09:01:46 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-06-08 18:32:02 +0000 |
| commit | a6958951ebe7db60e84b2437ee53aa4843028726 (patch) | |
| tree | 465057cb6a8975b61356e083546e4faa62f7d226 /net/switchdev/switchdev.c | |
| parent | ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg (diff) | |
| download | kernel-a6958951ebe7db60e84b2437ee53aa4843028726.tar.gz kernel-a6958951ebe7db60e84b2437ee53aa4843028726.zip | |
au1000_eth: stop using virt_to_bus()
The conversion to the dma-mapping API in linux-2.6.11 was incomplete
and left a virt_to_bus() call around. There have been a number of
fixes for DMA mapping API abuse in this driver, but this one always
slipped through.
Change it to just use the existing dma_addr_t pointer, and make it
use the correct types throughout the driver to make it easier to
understand the virtual vs dma address spaces.
Signed-off-by: Arnd Bergmann <[email protected]>
Tested-by: Manuel Lauss <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
