summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorLinkai Gong <gonglinkai@kylinos.cn>2026-08-13 17:56:17 +0800
committerAndi Shyti <andi.shyti@kernel.org>2026-08-16 18:36:38 +0200
commitccc3128e0e4e1a9afe6d39720ed2609cf9133215 (patch)
tree7e063769d5c838079c2844109ec8820672ad65aa /scripts/objdiff
parent2ce8c58ee70075fc25d806434b80709680a1c0f4 (diff)
downloadlinux-next-ccc3128e0e4e1a9afe6d39720ed2609cf9133215.tar.gz
linux-next-ccc3128e0e4e1a9afe6d39720ed2609cf9133215.zip
i2c: mux: demux-pinctrl: fix OF node leak on kstrdup failure
of_parse_phandle() takes a reference on the parent node. If a later devm_kstrdup() fails, err_rollback only releases nodes for indices 0..i-1, so the current node is leaked. of_node_put() the current parent before rolling back. Fixes: 7c0195fa9a9e ("i2c: mux: demux-pinctrl: check the return value of devm_kstrdup()") Signed-off-by: Linkai Gong <gonglinkai@kylinos.cn> Cc: <stable@vger.kernel.org> # v6.6+ Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://patch.msgid.link/20260813095617.2246320-1-gonglinkai@kylinos.cn
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions