[PATCH] firmware: arm_scmi: Free mailbox state on mapping failure
Sudeep Holla
sudeep.holla at kernel.org
Mon Nov 2 08:18:11 PST 2026
On Wed, 28 Oct 2026 15:32:03 +0000, Sudeep Holla wrote:
> 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.
>
> [...]
Applied to sudeep.holla/linux (for-next/scmi/fixes), thanks!
[1/1] firmware: arm_scmi: Free mailbox state on mapping failure
https://git.kernel.org/sudeep.holla/c/38b6268eae65
--
Regards,
Sudeep
More information about the linux-arm-kernel
mailing list