From: Sam Ravnborg <sam@ravnborg.org>
To: Navid Emamdoost <navid.emamdoost@gmail.com>
Cc: secalert@redhat.com, David Airlie <airlied@linux.ie>,
kjlu@umn.edu, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org,
Thierry Reding <thierry.reding@gmail.com>,
smccaman@umn.edu, emamd001@umn.edu
Subject: Re: [PATCH v2] drm/panel: check failure cases in the probe func
Date: Fri, 26 Jul 2019 14:33:53 +0200 [thread overview]
Message-ID: <20190726123353.GA16964@ravnborg.org> (raw)
In-Reply-To: <20190724195534.9303-1-navid.emamdoost@gmail.com>
Hi Navid.
On Wed, Jul 24, 2019 at 02:55:34PM -0500, Navid Emamdoost wrote:
> The following function calls may fail and return NULL, so the null check
> is added.
> of_graph_get_next_endpoint
> of_graph_get_remote_port_parent
> of_graph_get_remote_port
>
> Update: Thanks to Sam Ravnborg, for suggession on the use of goto to avoid
> leaking endpoint.
>
> Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Applied and pushed to drm-misc-next.
Sam
prev parent reply other threads:[~2019-07-26 12:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-24 2:56 [PATCH] rpi_touchscreen_probe: check for failure case Navid Emamdoost
2019-07-24 5:17 ` Sam Ravnborg
2019-07-24 14:48 ` [PATCH] drm/panel: check failure cases in the probe func Navid Emamdoost
2019-07-24 18:59 ` Sam Ravnborg
2019-07-24 18:59 ` Sam Ravnborg
2019-07-24 19:55 ` [PATCH v2] " Navid Emamdoost
2019-07-26 12:33 ` Sam Ravnborg [this message]
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=20190726123353.GA16964@ravnborg.org \
--to=sam@ravnborg.org \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.freedesktop.org \
--cc=emamd001@umn.edu \
--cc=kjlu@umn.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=navid.emamdoost@gmail.com \
--cc=secalert@redhat.com \
--cc=smccaman@umn.edu \
--cc=thierry.reding@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.