diff options
| author | Deepak R Varma <drv@mailo.com> | 2023-02-11 14:09:50 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-05-25 17:21:19 +0300 |
| commit | b8ed1ceb4a2653a2d5529b3afb79343d77efb3ce (patch) | |
| tree | 08946c3c60940e2abb03e504cfaf5a4354f0c186 /include/uapi/linux | |
| parent | e5f29bb9c4350dd9692f3b98eb8538dbbebccbaf (diff) | |
| download | linux-b8ed1ceb4a2653a2d5529b3afb79343d77efb3ce.tar.xz | |
media: platform: mtk-mdp3: release node reference before returning
The iterator for_each_child_of_node() increments the refcount of the
child node it is processing. Release such a reference when the loop
needs to break due to an error during its execution.
Issue identified using for_each_child.cocci Coccinelle semantic patch.
Signed-off-by: Deepak R Varma <drv@mailo.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
