From: "José Expósito" <jose.exposito89@gmail.com>
To: mripard@kernel.org
Cc: emma@anholt.net, airlied@gmail.com, daniel@ffwll.ch,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
"José Expósito" <jose.exposito89@gmail.com>
Subject: [PATCH v2 0/2] drm/vc4: hdmi: Fix pointer dereference before check
Date: Thu, 10 Nov 2022 14:47:50 +0100 [thread overview]
Message-ID: <20221110134752.238820-1-jose.exposito89@gmail.com> (raw)
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
next reply other threads:[~2022-11-10 13:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-10 13:47 José Expósito [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221110134752.238820-1-jose.exposito89@gmail.com \
--to=jose.exposito89@gmail.com \
--cc=airlied@gmail.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=emma@anholt.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mripard@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®