summaryrefslogtreecommitdiff
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorStefan Roese <[email protected]>2020-11-16 18:02:29 +0100
committerTom Rini <[email protected]>2021-01-27 08:25:31 -0500
commit919c8ede869caeb1a60fb596e759a2bf74030801 (patch)
treed4b74db1250ed534febf5303f73e7f9cd1afb586 /include/linux/linux_string.h
parent55f010356763d567ec9ec23f29a58af7b0fd2185 (diff)
net: e1000: Use virt_to_phys() instead of pci_virt_to_mem()
Using (dm_)pci_virt_to_mem() is incorrect to translate the virtual address in local DRAM to a physical address. The correct macro here is virt_to_phys() so switch to using this macro. As virt_to_bus() is now not used any more, this patch also removes both definitions (DM and non-DM). This issue was detected while testing the e1000 driver on the MIPS Octeon III platform, which needs address translation. Signed-off-by: Stefan Roese <[email protected]> Cc: Joe Hershberger <[email protected]> Cc: Aaron Williams <[email protected]> Cc: Chandrakala Chavva <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions