diff options
| author | Sudeep Holla <sudeep.holla@kernel.org> | 2026-10-28 15:32:03 +0000 |
|---|---|---|
| committer | Sudeep Holla <sudeep.holla@kernel.org> | 2026-10-28 15:36:59 +0000 |
| commit | 38b6268eae651de1ca31c48b912a55ae3e706b94 (patch) | |
| tree | 91fb52b11e212e15f69459b04f3cbf6d73a0a640 /tools/perf/scripts/python | |
| parent | b9bb2eb88037a3823e7abd096b54d0a07d428f90 (diff) | |
firmware: arm_scmi: Free mailbox state on mapping failure
mailbox_chan_setup() allocates its private state from the SCMI base
device before mapping the shared-memory area. If mapping fails while
setting up an optional RX channel, the core ignores the RX failure and
keeps the base device bound, retaining that devres allocation.
Release the private mailbox state before returning the mapping error.
Reported-by: Sashiko <sashiko-bot@kernel.org>
Closes: https://sashiko.dev/#/bug/linux-fda9bcb5-8255-4157-bbf7-d720bbd86605
Fixes: 1ebc28e9357c ("firmware: arm_scmi: Introduce setup_shmem_iomap")
Link: https://patch.msgid.link/20261028153203.3305067-1-sudeep.holla@kernel.org
Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
