diff options
| author | 2026-02-03 00:48:15 +0100 | |
|---|---|---|
| committer | 2026-03-17 21:23:02 +0100 | |
| commit | 4796dfd7e0e845de5e76b1748d3c022d350f1b57 (patch) | |
| tree | 7426cf731410b71f7cd41a7becb7c3bf4dcfac64 /tools/perf/scripts/python | |
| parent | devres: fix missing node debug info in devm_krealloc() (diff) | |
devres: add devres_node_add()
Both devres_add() and devres_open_group() acquire the devres_lock and
call add_dr(). Add a helper, devres_node_add(), for this pattern.
Use guard(spinlock_irqsave) to avoid the explicit unlock call and local
flag variables.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20260202235210.55176-3-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
