aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorMax Zhen <max.zhen@amd.com>2026-03-25 18:06:42 -0700
committerLizhi Hou <lizhi.hou@amd.com>2026-03-26 09:07:21 -0700
commitd946347edc4f0a7b846325323d77e936a4c90d0f (patch)
treea6169451655e1bb4812b7ab4078e28e9a0939b1b /scripts/Makefile.thinlto
parentdrm: rcar-du: Don't leak device_link to CMM (diff)
accel/amdxdna: Fix leak when pinning ubuf pages
When pin_user_pages_fast() returns fewer pages than requested, the pages that were successfully pinned are not released, leading to a leak. Fix this by unpinning any partially pinned pages before returning failure. Fixes: bd72d4acda10 ("accel/amdxdna: Support user space allocated buffer") Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Max Zhen <max.zhen@amd.com> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/20260326010642.2596525-1-lizhi.hou@amd.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions