diff options
| author | Henri Roosen <[email protected]> | 2017-06-02 13:35:51 +0200 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2017-06-25 14:35:02 -0700 |
| commit | b2599ebffb2d32e051669c0a94f8e363ad7a2e8b (patch) | |
| tree | cf5c2a60d6b6e32367fe1d1c878bf778e0c73df5 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| 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 <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions