summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorHaotian Zhang <vulab@iscas.ac.cn>2025-10-28 11:05:09 +0800
committerLinus Walleij <linus.walleij@linaro.org>2025-11-10 00:01:22 +0100
commit9b07cdf86a0b90556f5b68a6b20b35833b558df3 (patch)
treef64a88e96759dfb422a9b8267c448b5c9d1a1966 /net/unix/af_unix.c
parent316e361b5d2cdeb8d778983794a1c6eadcb26814 (diff)
pinctrl: cirrus: Fix fwnode leak in cs42l43_pin_probe()
The driver calls fwnode_get_named_child_node() which takes a reference on the child node, but never releases it, which causes a reference leak. Fix by using devm_add_action_or_reset() to automatically release the reference when the device is removed. Fixes: d5282a539297 ("pinctrl: cs42l43: Add support for the cs42l43") Suggested-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Haotian Zhang <vulab@iscas.ac.cn> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions