diff options
| author | Thomas Hellström <[email protected]> | 2025-10-27 13:12:28 +0000 |
|---|---|---|
| committer | Lucas De Marchi <[email protected]> | 2025-10-29 17:44:48 +0000 |
| commit | edce042da7984586ea5c7ed18ea5f58002afb969 (patch) | |
| tree | 81aac797e31c73cc80f29134a0d315136712ea3c /lib/mpi/mpi-scan.c | |
| parent | Linux 6.18-rc3 (diff) | |
| download | kernel-edce042da7984586ea5c7ed18ea5f58002afb969.tar.gz kernel-edce042da7984586ea5c7ed18ea5f58002afb969.zip | |
drm/xe: Fix uninitialized return value from xe_validation_guard()
the DEFINE_CLASS() macro creates an inline function and
the init args are passed down to it; since _ret is passed as an int,
whatever value is set inside the function is not visible to the caller.
Pass _ret as a pointer so its value propagates to the caller.
Fixes: c460bc2311df ("drm/xe: Introduce an xe_validation wrapper around drm_exec")
Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/6220
Cc: Maarten Lankhorst <[email protected]>
Cc: Matthew Brost <[email protected]>
Cc: [email protected]
Signed-off-by: Thomas Hellström <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Link: https://patch.msgid.link/[email protected]
(cherry picked from commit fcb8c304f4673747d535c74b340b5b8a4823727b)
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-scan.c')
0 files changed, 0 insertions, 0 deletions
