diff options
| author | Felix Gu <gu_0233@qq.com> | 2026-01-15 21:54:15 +0800 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-01-31 07:38:32 -0800 |
| commit | 4923bbff0bcffe488b3aa76829c829bd15b02585 (patch) | |
| tree | efcbc613776225eb02f12242e3d8450df29280b2 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 2954ce672b7623478c1cfeb69e6a6e4042a3656e (diff) | |
hwmon: (nct7363) Fix a resource leak in nct7363_present_pwm_fanin
When calling of_parse_phandle_with_args(), the caller is responsible
to call of_node_put() to release the reference of device node.
In nct7363_present_pwm_fanin, it does not release the reference,
causing a resource leak.
Signed-off-by: Felix Gu <gu_0233@qq.com>
Link: https://lore.kernel.org/r/tencent_9717645269E4C07D3D131F52201E12E5E10A@qq.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
