Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b2599ebf authored by Henri Roosen's avatar Henri Roosen Committed by Bjorn Andersson
Browse files

rpmsg: virtio_rpmsg_bus: fix announce for devices without endpoint



A device might not have an endpoint assigned. This patch checks if
rpdev->ept has a value before dereferencing or using it.

Signed-off-by: default avatarHenri Roosen <henri.roosen@ginzinger.com>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent b4f8e52b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment