summaryrefslogtreecommitdiff
path: root/drivers/fpga/sandbox.c
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2025-06-18 19:04:35 +0300
committerTom Rini <trini@konsulko.com>2025-06-22 10:16:29 -0600
commit9d169ac9733b5c3f208921a1d82f4fa8ff708258 (patch)
tree5c34086f02703c4405b21b2715416bc6236d9186 /drivers/fpga/sandbox.c
parentc08cecf2d7632d2c7be9a9d260f74bb585d7a3e3 (diff)
net: designware: fix bus address dereference
Device bus address might not be valid for direct access when the bus address and CPU address are not the same. Use dev_bus_to_phys() to translate bus address back to CPU address. Fixes: 3d98b8c504e15 ("net: designware: Invalidate RX buffer cache before freeing the DMA descriptor") Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'drivers/fpga/sandbox.c')
0 files changed, 0 insertions, 0 deletions