[PATCH] firmware: imx-dsp: Fix an error handling path in imx_dsp_setup_channels()

Daniel Baluta daniel.baluta at gmail.com
Mon Jan 16 23:55:04 PST 2023


On Sun, Jan 15, 2023 at 8:35 PM Christophe JAILLET
<christophe.jaillet at wanadoo.fr> wrote:
>
> If mbox_request_channel_byname() fails, the memory allocated a few lines
> above still need to be freed before going to the error handling path.
>
> Fixes: 046326989a18 ("firmware: imx: Save channel name for further use")
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>

Good catch.

Reviewed-by: Daniel Baluta <daniel.baluta at nxp.com>



More information about the linux-arm-kernel mailing list