aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-02-27 10:06:59 +0000
committerLaurent Pinchart <[email protected]>2023-03-25 20:38:10 +0000
commit40f43730f43699ce8557e4fe59622d4f4b69f44a (patch)
tree6fc0d74450a90699d5ca858cc4c5f603905cf1fb /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm: rcar-du: Write correct values in DORCR reserved fields (diff)
downloadkernel-40f43730f43699ce8557e4fe59622d4f4b69f44a.tar.gz
kernel-40f43730f43699ce8557e4fe59622d4f4b69f44a.zip
drm: rcar-du: Fix a NULL vs IS_ERR() bug
The drmm_encoder_alloc() function returns error pointers. It never returns NULL. Fix the check accordingly. Fixes: 7a1adbd23990 ("drm: rcar-du: Use drmm_encoder_alloc() to manage encoder") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions