mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/vc4: hdmi: Fix pointer dereference before check
@ 2022-11-10 13:47 José Expósito
  2022-11-10 13:47 ` [PATCH v2 1/2] drm/vc4: hdmi: Pass vc4_hdmi to vc4_hdmi_supports_scrambling() José Expósito
  2022-11-10 13:47 ` [PATCH v2 2/2] drm/vc4: hdmi: Fix pointer dereference before check José Expósito
  0 siblings, 2 replies; 5+ messages in thread
From: José Expósito @ 2022-11-10 13:47 UTC (permalink / raw)
  To: mripard
  Cc: emma, airlied, daniel, dri-devel, linux-kernel, José Expósito

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(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-11-17 17:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10 13:47 [PATCH v2 0/2] drm/vc4: hdmi: Fix pointer dereference before check José Expósito
2022-11-10 13:47 ` [PATCH v2 1/2] drm/vc4: hdmi: Pass vc4_hdmi to vc4_hdmi_supports_scrambling() José Expósito
2022-11-10 13:47 ` [PATCH v2 2/2] drm/vc4: hdmi: Fix pointer dereference before check José Expósito
2022-11-17 17:28   ` Nick Desaulniers
2022-11-17 17:32     ` Nathan Chancellor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®