summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2025-11-13 01:30:28 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2025-11-19 19:37:04 +0200
commitcead55e24cf9e092890cf51c0548eccd7569defa (patch)
treed59ece6076ddb7ea0ada2622e8317408c4caf9ae /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentd4f14fa5c6c4d39b5187e1f410d59e38d76f283f (diff)
drm/plane: Fix create_in_format_blob() return value
create_in_format_blob() is either supposed to return a valid pointer or an error, but never NULL. The caller will dereference the blob when it is not an error, and thus will oops if NULL returned. Return proper error values in the failure cases. Cc: stable@vger.kernel.org Cc: Arun R Murthy <arun.r.murthy@intel.com> Fixes: 0d6dcd741c26 ("drm/plane: modify create_in_formats to acommodate async") Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patch.msgid.link/20251112233030.24117-2-ville.syrjala@linux.intel.com Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions