Skip to content

drm/vc4: hdmi: Fix pointer dereference before check

José Expósito dri-devel lkml llvm 2 versions – Applied

Status from this message: Applied to drm/drm-misc (drm-misc-next).

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesApplied
  2. v11 patch 4 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2drm/vc4: hdmi: Pass vc4_hdmi to vc4_hdmi_supports_scrambling()drivers/gpu/drm/vc4/vc4_hdmi.c+3 -50 replies
2/2drm/vc4: hdmi: Fix pointer dereference before checkdrivers/gpu/drm/vc4/vc4_hdmi.c+4 -22 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] drm/vc4: hdmi: Fix pointer dereference before check

v1 -> v2:

As suggested by Maxime, I simplified a bit vc4_hdmi_supports_scrambling() making it receive a struct vc4_hdmi as argument instead of a struct drm_encoder.

Also, variables are initialized close to where they are used in the second patch.

José Expósito (2):
drm/vc4: hdmi: Pass vc4_hdmi to vc4_hdmi_supports_scrambling() drm/vc4: hdmi: Fix pointer dereference before check

 drivers/gpu/drm/vc4/vc4_hdmi.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.1