diff options
| author | Peter Rosin <[email protected]> | 2018-08-06 08:19:09 +0200 |
|---|---|---|
| committer | Benjamin Gaignard <[email protected]> | 2018-08-07 15:33:00 +0200 |
| commit | 66e31a72dc38543b2d9d1ce267dc78ba9beebcfd (patch) | |
| tree | 5c458116689572faf1b9fcfeaf5e04955d4d350b /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 161ad653d6c9ca2c5ef3bc4fc883689932c9ac8e (diff) | |
drm/sti: do not remove the drm_bridge that was never added
Removing the drm_bridge_remove call should avoid a NULL dereference
during list processing in drm_bridge_remove if the error path is ever
taken.
The more natural approach would perhaps be to add a drm_bridge_add,
but there are several other bridges that never call drm_bridge_add.
Just removing the drm_bridge_remove is the easier fix.
Fixes: 84601dbdea36 ("drm: sti: rework init sequence")
Acked-by: Daniel Vetter <[email protected]>
Signed-off-by: Peter Rosin <[email protected]>
Signed-off-by: Benjamin Gaignard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions