From: Thierry Reding <thierry.reding@gmail.com>
To: Stefan Agner <stefan@agner.ch>
Cc: dri-devel@lists.freedesktop.org, jianwei.wang.chn@gmail.com,
meng.yi@nxp.com, linux-kernel@vger.kernel.org,
alison.wang@freescale.com
Subject: Re: [PATCH] drm/fsl-dcu: use drm_mode_config_cleanup on initialization errors
Date: Tue, 21 Jun 2016 15:54:19 +0200 [thread overview]
Message-ID: <20160621135419.GC6060@ulmo.ba.sec> (raw)
In-Reply-To: <20160619021543.23587-1-stefan@agner.ch>
[-- Attachment #1: Type: text/plain, Size: 550 bytes --]
On Sat, Jun 18, 2016 at 07:15:43PM -0700, Stefan Agner wrote:
> Commit 7566e247672d ("drm/fsl-dcu: handle initialization errors properly")
> introduced error handling during initialization, but with a wrong cleanup
> order.
>
> Replace the error handling with the generic cleanup function
> drm_mode_config_cleanup.
>
> Signed-off-by: Stefan Agner <stefan@agner.ch>
> ---
> drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c | 13 ++++++-------
> 1 file changed, 6 insertions(+), 7 deletions(-)
Applied to topic/drm-misc, thanks.
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2016-06-21 13:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-19 2:15 [PATCH] drm/fsl-dcu: use drm_mode_config_cleanup on initialization errors Stefan Agner
2016-06-21 13:54 ` Thierry Reding [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=20160621135419.GC6060@ulmo.ba.sec \
--to=thierry.reding@gmail.com \
--cc=alison.wang@freescale.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jianwei.wang.chn@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=meng.yi@nxp.com \
--cc=stefan@agner.ch \
/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