summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/samsung/pinctrl-s3c64xx.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2019-08-05 18:27:08 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2019-10-01 20:22:04 +0200
commit6fbbcb050802d6ea109f387e961b1dbcc3a80c96 (patch)
tree696ea4d57d46d5387f0b6e8df7fd5d9101f34595 /drivers/pinctrl/samsung/pinctrl-s3c64xx.c
parent5c7f48dd14e892e3e920dd6bbbd52df79e1b3b41 (diff)
pinctrl: samsung: Fix device node refcount leaks in S3C24xx wakeup controller init
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>
Diffstat (limited to 'drivers/pinctrl/samsung/pinctrl-s3c64xx.c')
0 files changed, 0 insertions, 0 deletions