[PATCH] firmware: arm_scmi: Fix null de-reference on error path

Sudeep Holla sudeep.holla at arm.com
Thu Nov 18 04:08:04 PST 2021


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




More information about the linux-arm-kernel mailing list