summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorCristian Marussi <cristian.marussi@arm.com>2021-11-12 21:07:05 +0300
committerSudeep Holla <sudeep.holla@arm.com>2021-11-15 13:58:42 +0300
commit95161165727650a707bc34ecfac286a418b6bb00 (patch)
tree4c9186bdc91e659a4cd620966d65b3b1261820b9 /scripts/generate_rust_analyzer.py
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff)
downloadlinux-95161165727650a707bc34ecfac286a418b6bb00.tar.xz
firmware: arm_scmi: Fix null de-reference on error path
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. Link: https://lore.kernel.org/r/20211112180705.41601-1-cristian.marussi@arm.com Fixes: 46abe13b5e3db ("firmware: arm_scmi: Add virtio transport") Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions