diff options
author | Deepak R Varma <drv@mailo.com> | 2023-02-11 12:09:50 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-05-25 16:21:19 +0200 |
commit | b8ed1ceb4a2653a2d5529b3afb79343d77efb3ce (patch) | |
tree | 08946c3c60940e2abb03e504cfaf5a4354f0c186 /drivers/media/usb | |
parent | media: platform: rzg2l-cru: rzg2l-csi2: Enclose the macro in parentheses (diff) | |
download | linux-b8ed1ceb4a2653a2d5529b3afb79343d77efb3ce.tar.xz linux-b8ed1ceb4a2653a2d5529b3afb79343d77efb3ce.zip |
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 'drivers/media/usb')
0 files changed, 0 insertions, 0 deletions