aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorZenghui Yu <yuzenghui@huawei.com>2024-06-21 17:28:09 +0800
committerWill Deacon <will@kernel.org>2024-06-24 12:37:46 +0100
commitecc54006f158ae0245a13e59026da2f0239c1b86 (patch)
tree3a3e33892ac6af7c621c767fc12f3db39f32bf85 /drivers/usb/cdns3/cdns3-trace.c
parent895a37028a4854962def6e2f2820a23c84062f66 (diff)
arm64: Clear the initial ID map correctly before remapping
In the attempt to clear and recreate the initial ID map for LPA2, we wrongly use 'start - end' as the map size and make the memset() almost a nop. Fix it by passing the correct map size. Fixes: 9684ec186f8f ("arm64: Enable LPA2 at boot if supported by the system") Signed-off-by: Zenghui Yu <yuzenghui@huawei.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20240621092809.162-1-yuzenghui@huawei.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions