diff options
author | Henri Roosen <henri.roosen@ginzinger.com> | 2017-06-02 13:35:51 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-06-25 14:35:02 -0700 |
commit | b2599ebffb2d32e051669c0a94f8e363ad7a2e8b (patch) | |
tree | cf5c2a60d6b6e32367fe1d1c878bf778e0c73df5 /usr | |
parent | b4f8e52b89f69f5563ac4cb9ffdacc4418917af1 (diff) | |
download | linux-b2599ebffb2d32e051669c0a94f8e363ad7a2e8b.tar.bz2 |
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions