aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorXiaomeng Tong <[email protected]>2022-04-13 05:11:05 +0000
committerPatrik Jakobsson <[email protected]>2022-04-20 07:11:01 +0000
commitac2f033aa4fbc94a512e703a953ed36e1bb45d0a (patch)
treefd67da1d8d5cc9271b4cb80b04c54988fada4d6c /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm: bridge: icn6211: Add DSI lane count DT property parsing (diff)
downloadkernel-ac2f033aa4fbc94a512e703a953ed36e1bb45d0a.tar.gz
kernel-ac2f033aa4fbc94a512e703a953ed36e1bb45d0a.zip
drm/gma500: fix a potential repeat execution in psb_driver_load
Instead of exiting the loop as expected when an entry is found, the list_for_each_entry() continues until the traversal is complete. To avoid potential executing 'ret = gma_backlight_init(dev);' repeatly, goto outside the loop when found entry by replacing switch/case with if statement. Signed-off-by: Xiaomeng Tong <[email protected]> Signed-off-by: Patrik Jakobsson <[email protected]> [Fixed indentation] Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions