aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorThomas Hellström <[email protected]>2025-03-07 10:01:09 +0000
committerRodrigo Vivi <[email protected]>2025-03-10 15:42:25 +0000
commit9106713bd2ab0cacd380cda0d3f0219f2e488086 (patch)
treed6d62fd90ae308b12d47fe8a063ec4f18fd6b8f9 /rust/helpers/platform.c
parentdrm/xe: Release guc ids before cancelling work (diff)
downloadkernel-9106713bd2ab0cacd380cda0d3f0219f2e488086.tar.gz
kernel-9106713bd2ab0cacd380cda0d3f0219f2e488086.zip
drm/xe/userptr: Fix an incorrect assert
The assert incorrectly checks the total length processed which can in fact be greater than the number of pages. Fix. Fixes: 0a98219bcc96 ("drm/xe/hmm: Don't dereference struct page pointers without notifier lock") Cc: Matthew Auld <[email protected]> Cc: Matthew Brost <[email protected]> Signed-off-by: Thomas Hellström <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 70e5043ba85eae199b232e39921abd706b5c1fa4) Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions