diff options
| author | Krzysztof Kozlowski <krzk@kernel.org> | 2019-08-05 18:27:08 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-17 19:56:38 +0100 |
| commit | 7b703ca18b92dd44419727f932d32d5d6f0dff2c (patch) | |
| tree | d2114ab3b91a20cd472ef31dfeddabfb8a1dc482 /include/linux/maple.h | |
| parent | d3d3a0bc3228056b00af2955b9273aa3c5eb264a (diff) | |
pinctrl: samsung: Fix device node refcount leaks in S3C24xx wakeup controller init
commit 6fbbcb050802d6ea109f387e961b1dbcc3a80c96 upstream.
In s3c24xx_eint_init() the for_each_child_of_node() loop is used with a
break to find a matching child node. Although each iteration of
for_each_child_of_node puts the previous node, but early exit from loop
misses it. This leads to leak of device node.
Cc: <stable@vger.kernel.org>
Fixes: af99a7507469 ("pinctrl: Add pinctrl-s3c24xx driver")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/maple.h')
0 files changed, 0 insertions, 0 deletions
