diff options
| author | Hangyu Hua <[email protected]> | 2022-06-24 13:04:06 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2022-07-07 03:04:43 +0000 |
| commit | 85144df9ff4652816448369de76897c57cbb1b93 (patch) | |
| tree | ec971d772909af8ebbab349b15ad24f35b72236d /scripts/clang-tools/gen_compile_commands.py | |
| parent | drm/i915: tweak the ordering in cpu_write_needs_clflush (diff) | |
| download | kernel-85144df9ff4652816448369de76897c57cbb1b93.tar.gz kernel-85144df9ff4652816448369de76897c57cbb1b93.zip | |
drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector()
If drm_connector_init fails, intel_connector_free will be called to take
care of proper free. So it is necessary to drop the refcount of port
before intel_connector_free.
Fixes: 091a4f91942a ("drm/i915: Handle drm-layer errors in intel_dp_add_mst_connector")
Signed-off-by: Hangyu Hua <[email protected]>
Reviewed-by: José Roberto de Souza <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: José Roberto de Souza <[email protected]>
(cherry picked from commit cea9ed611e85d36a05db52b6457bf584b7d969e2)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
