diff options
| author | 2025-12-19 21:19:26 +0800 | |
|---|---|---|
| committer | 2026-02-07 00:45:18 +0100 | |
| commit | dcf69599c47f29ce0a99117eb3f9ddcd2c4e78b6 (patch) | |
| tree | a1bb49134f6a5bda398a73b3e51113f61a681e29 /tools/perf/scripts/python/bin | |
| parent | Linux 6.19-rc1 (diff) | |
parisc: kernel: replace kfree() with put_device() in create_tree_node()
If device_register() fails, put_device() is the correct way to
drop the device reference.
Found by code review.
Fixes: 1070c9655b90 ("[PA-RISC] Fix must_check warnings in drivers.c")
Cc: stable@vger.kernel.org
Signed-off-by: Haoxiang Li <lihaoxiang@isrc.iscas.ac.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
