diff options
| author | Navid Emamdoost <[email protected]> | 2019-07-24 14:55:34 -0500 |
|---|---|---|
| committer | Sam Ravnborg <[email protected]> | 2019-07-26 13:44:42 +0200 |
| commit | afd6d4f5a52c16e1483328ac074abb1cde92c29f (patch) | |
| tree | 3e880341bb28cd472a992a8ae6b26648c4ee5c2d /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 67fe62dcf713c36f4766c0218cc14796ee9536e1 (diff) | |
drm/panel: check failure cases in the probe func
The following function calls may fail and return NULL, so the null check
is added.
of_graph_get_next_endpoint
of_graph_get_remote_port_parent
of_graph_get_remote_port
Update: Thanks to Sam Ravnborg, for suggession on the use of goto to avoid
leaking endpoint.
Signed-off-by: Navid Emamdoost <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions