Re: [PATCH] firmware: arm_scmi: Fix null de-reference on error path
From: Sudeep Holla
Date: Thu Nov 18 2021 - 07:08:26 EST
On Fri, 12 Nov 2021 18:07:05 +0000, Cristian Marussi wrote:
> During channel setup a failure in the call of scmi_vio_feed_vq_rx() leads
> to an attempt to access a dev pointer by dereferencing vioch->cinfo at
> a time when vioch->cinfo has still to be initialized.
>
> Fix it by providing the device reference directly to scmi_vio_feed_vq_rx.
>
>
> [...]
Applied to sudeep.holla/linux (for-next/scmi), thanks!
[1/1] firmware: arm_scmi: Fix null de-reference on error path
https://git.kernel.org/sudeep.holla/c/9516116572
--
Regards,
Sudeep