commit | b2599ebffb2d32e051669c0a94f8e363ad7a2e8b | [log] [tgz] |
---|---|---|
author | Henri Roosen <henri.roosen@ginzinger.com> | Fri Jun 02 13:35:51 2017 +0200 |
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | Sun Jun 25 14:35:02 2017 -0700 |
tree | cf5c2a60d6b6e32367fe1d1c878bf778e0c73df5 | |
parent | b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 [diff] |
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: Henri Roosen <henri.roosen@ginzinger.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>