diff options
| author | Amjad Ouled-Ameur <[email protected]> | 2024-06-10 10:20:56 +0000 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2024-06-10 11:20:37 +0000 |
| commit | b880018edd3a577e50366338194dee9b899947e0 (patch) | |
| tree | 34db5476bfc617835513723b43563572b16fc997 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm: panel-orientation-quirks: Add quirk for Aya Neo KUN (diff) | |
| download | kernel-b880018edd3a577e50366338194dee9b899947e0.tar.gz kernel-b880018edd3a577e50366338194dee9b899947e0.zip | |
drm/komeda: check for error-valued pointer
komeda_pipeline_get_state() may return an error-valued pointer, thus
check the pointer for negative or null value before dereferencing.
Fixes: 502932a03fce ("drm/komeda: Add the initial scaler support for CORE")
Signed-off-by: Amjad Ouled-Ameur <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
