From: Markus Elfring <Markus.Elfring@web.de>
To: Wei Yongjun <weiyongjun1@huawei.com>, dri-devel@lists.freedesktop.org
Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org,
Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@linux.ie>,
Linus Walleij <linus.walleij@linaro.org>
Subject: Re: [PATCH v2] drm/mcde: dsi: Fix return value check in mcde_dsi_bind()
Date: Thu, 30 Apr 2020 13:56:23 +0200 [thread overview]
Message-ID: <fa72cc36-0204-fb82-6c62-ae43cb13260f@web.de> (raw)
> The of_drm_find_bridge() function returns NULL on error, it doesn't return
> error pointers so this check doesn't work.
How do you think about a wording variant like the following?
Change description:
An error pointer check was performed after a call of the
function “of_drm_find_bridge” despite of the detail
that failures are indicated for the bridge search
by null pointers instead.
Thus adjust a check for the failure predicate
and the corresponding exception handling.
Regards,
Markus
next reply other threads:[~2020-04-30 11:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-30 11:56 Markus Elfring [this message]
2020-04-30 11:56 Markus Elfring
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=fa72cc36-0204-fb82-6c62-ae43cb13260f@web.de \
--to=markus.elfring@web.de \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=weiyongjun1@huawei.com \
/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®