diff options
| author | 2026-09-11 23:52:07 +0800 | |
|---|---|---|
| committer | 2026-10-08 09:39:47 -0500 | |
| commit | ac0b8dbc2c0c882c5549547df9e872bb4d0dec74 (patch) | |
| tree | e54bd9cc38e1b7a7f9b9dce9b0c8e805a5b58e2c /scripts/Makefile.thinlto | |
| parent | firmware: stratix10-svc: add PSCI secondary CPU offline on warm reboot for agilex and stratix10 (diff) | |
firmware: stratix10-svc: warn on unmatched free in stratix10_svc_free_memory
After commit 9119ceb76e98 ("firmware: stratix10-svc: fix memory leaks and
list corruption bugs") removed the erroneous list_del(&svc_data_mem) that
corrupted the list head on failed lookups, an unmatched free still
silently returned. Report the spurious address with dev_warn().
While here, refactor the loop to use an inverted condition with continue
to reduce nesting. Add braces in svc_pa_to_va() for consistency, and fix
a stale "physical address" comment to "address" since paddr is not
strictly a physical address.
Signed-off-by: Adrian Ng Ho Yin <adrian.ho.yin.ng@altera.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
