From: Jonathan Corbet <corbet@lwn.net>
To: Libin Yang <lbyang@marvell.com>
Cc: <g.liakhovetski@gmx.de>, <linux-media@vger.kernel.org>,
<albert.v.wang@gmail.com>, Albert Wang <twang13@marvell.com>
Subject: Re: [PATCH v2 1/7] marvell-ccic: add MIPI support for marvell-ccic driver
Date: Mon, 1 Jul 2013 22:08:29 -0600 [thread overview]
Message-ID: <20130701220829.73c9c202@lwn.net> (raw)
In-Reply-To: <1372735868-15880-2-git-send-email-lbyang@marvell.com>
For future reference, it's nice to summarize the changes made since the
previous posting.
In a really quick scan, I immediately stumbled across this:
> @@ -1816,7 +1884,9 @@ int mccic_resume(struct mcam_camera *cam)
>
> mutex_lock(&cam->s_mutex);
> if (cam->users > 0) {
> - mcam_ctlr_power_up(cam);
> + ret = mcam_ctlr_power_up(cam);
> + if (ret)
> + return ret;
You do see the problem here, right? Can I ask you to please audit *all*
of your changes to be sure they don't leak locks? This isn't the sort of
problem that should need to be pointed out twice.
Don't get me wrong, I very much appreciate the effort you have put into
getting these patches ready for merging, and things are quite close. But
it's important to get details like this right.
Thanks,
jon
next prev parent reply other threads:[~2013-07-02 4:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-02 3:31 [PATCH v2 0/7] marvell-ccic: update ccic driver to support some features Libin Yang
2013-07-02 3:31 ` [PATCH v2 1/7] marvell-ccic: add MIPI support for marvell-ccic driver Libin Yang
2013-07-02 4:08 ` Jonathan Corbet [this message]
2013-07-02 4:21 ` Libin Yang
2013-07-02 3:31 ` [PATCH v2 2/7] marvell-ccic: add clock tree " Libin Yang
2013-07-02 3:31 ` [PATCH v2 3/7] marvell-ccic: reset ccic phy when stop streaming for stability Libin Yang
2013-07-02 3:31 ` [PATCH v2 4/7] marvell-ccic: refine mcam_set_contig_buffer function Libin Yang
2013-07-02 3:31 ` [PATCH v2 5/7] marvell-ccic: add new formats support for marvell-ccic driver Libin Yang
2013-07-02 3:31 ` [PATCH v2 6/7] marvell-ccic: add SOF / EOF pair check " Libin Yang
2013-07-02 3:31 ` [PATCH v2 7/7] marvell-ccic: switch to resource managed allocation and request Libin Yang
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=20130701220829.73c9c202@lwn.net \
--to=corbet@lwn.net \
--cc=albert.v.wang@gmail.com \
--cc=g.liakhovetski@gmx.de \
--cc=lbyang@marvell.com \
--cc=linux-media@vger.kernel.org \
--cc=twang13@marvell.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.