diff options
| author | 2025-11-03 16:48:29 -0500 | |
|---|---|---|
| committer | 2025-11-24 15:39:05 +0000 | |
| commit | 66db99ffdfcb034d6fae212f2f473a82a842795f (patch) | |
| tree | 52fb20c467ec29013aa70860783e0baf4ee95df3 /tools/objtool/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com | |
| parent | dt-bindings: perf: fsl-imx-ddr: Add compatible string for i.MX8QM, i.MX8QXP and i.MX8DXL (diff) | |
perf/imx_ddr: Move ida_alloc() from ddr_perf_init() to ddr_perf_probe()
Move ida_alloc() from helper ddr_perf_init() into ddr_perf_probe() to
clarify why ida_free() must be called at the error path.
Add return value check for ida_alloc().
Rename label 'cpuhp_state_err' to 'idr_free' to make the code clearer,
since two error paths now jump to this label.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/objtool/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
