diff options
| author | Javier Carrasco <[email protected]> | 2024-10-11 19:21:52 +0000 |
|---|---|---|
| committer | Chun-Kuang Hu <[email protected]> | 2024-11-04 12:23:15 +0000 |
| commit | fd620fc25d88a1e490eaa9f72bc31962be1b4741 (patch) | |
| tree | 53d7462620988ee29171d4a69d87eb56c758853a /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/mediatek: Fix child node refcount handling in early exit (diff) | |
| download | kernel-fd620fc25d88a1e490eaa9f72bc31962be1b4741.tar.gz kernel-fd620fc25d88a1e490eaa9f72bc31962be1b4741.zip | |
drm/mediatek: Switch to for_each_child_of_node_scoped()
Introduce the scoped variant of the loop to automatically release the
child node when it goes out of scope, which is more robust than the
non-scoped variant, and accounts for new early exits that could be added
in the future.
Signed-off-by: Javier Carrasco <[email protected]>
Reviewed-by: CK Hu <[email protected]>
Reviewed-by: Chen-Yu Tsai <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://patchwork.kernel.org/project/dri-devel/patch/[email protected]/
Signed-off-by: Chun-Kuang Hu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
