summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/display/msm/gmu.yaml
diff options
context:
space:
mode:
authorPin-yen Lin <treapking@chromium.org>2023-03-24 06:59:09 +0300
committerDouglas Anderson <dianders@chromium.org>2023-03-24 16:38:44 +0300
commit14aed8ea48e2f5c710ab678e1ba32b9f398d40b2 (patch)
treee7d4ab2bf80ddd5e78f7438cdfaf465db690957f /Documentation/devicetree/bindings/display/msm/gmu.yaml
parent6a17b4d1b52f10a44c45eea2a9222088e7c9e573 (diff)
downloadlinux-14aed8ea48e2f5c710ab678e1ba32b9f398d40b2.tar.xz
drm/bridge: ps8640: Return NULL immediately when EDID read fail
drm_edid_read returns NULL on error, so feeding it directly into drm_edid_duplicate may lead to NULL pointer dereference. Add a check to guard this. Fixes: 6a17b4d1b52f ("drm/bridge: ps8640: Add a cache for EDID") Signed-off-by: Pin-yen Lin <treapking@chromium.org> Signed-off-by: Douglas Anderson <dianders@chromium.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230324035909.1727356-1-treapking@chromium.org
Diffstat (limited to 'Documentation/devicetree/bindings/display/msm/gmu.yaml')
0 files changed, 0 insertions, 0 deletions