aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2024-09-15 11:06:44 +0000
committerJuergen Gross <[email protected]>2024-09-17 06:53:17 +0000
commitc3dea3d54f4d399f8044547f0f1abdccbdfb0fee (patch)
tree8905d824339286f53af722f54e0e575f8c640ae2 /drivers/usb/cdns3/cdns3-trace.c
parentxen/swiotlb: add alignment check for dma buffers (diff)
downloadkernel-c3dea3d54f4d399f8044547f0f1abdccbdfb0fee.tar.gz
kernel-c3dea3d54f4d399f8044547f0f1abdccbdfb0fee.zip
xen/swiotlb: fix allocated size
The allocated size in xen_swiotlb_alloc_coherent() and xen_swiotlb_free_coherent() is calculated wrong for the case of XEN_PAGE_SIZE not matching PAGE_SIZE. Fix that. Fixes: 7250f422da04 ("xen-swiotlb: use actually allocated size on check physical continuous") Reported-by: Jan Beulich <[email protected]> Signed-off-by: Juergen Gross <[email protected]> Reviewed-by: Jan Beulich <[email protected]> Reviewed-by: Stefano Stabellini <[email protected]> Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions