diff options
| author | Felix Gu <gu_0233@qq.com> | 2025-12-26 13:22:43 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-12-29 13:59:06 +0300 |
| commit | dad9f13d967b4e53e8eaf5f9c690f8e778ad9802 (patch) | |
| tree | dcf68a8df1349be4305d48b08da62cf4ca1b5a8f /include/linux/stackprotector.h | |
| parent | 40fc797ba18328e57ed1cb213b4b5e48f86f4c7c (diff) | |
| download | linux-dad9f13d967b4e53e8eaf5f9c690f8e778ad9802.tar.xz | |
misc: ti_fpc202: fix a potential memory leak in probe function
Use for_each_child_of_node_scoped() to simplify the code and ensure the
device node reference is automatically released when the loop scope
ends.
Signed-off-by: Felix Gu <gu_0233@qq.com>
Reviewed-by: Romain Gantois <romain.gantois@bootlin.com>
Link: https://patch.msgid.link/tencent_FA1AC670F5CF49873F88A44424F866994A08@qq.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
