From: Greg KH <gregkh@linuxfoundation.org>
To: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com>,
linux-iio@vger.kernel.org, jic23@kernel.org,
Julia Lawall <julia.lawall@inria.fr>
Subject: Re: [PATCH] iio: adc: mcp3422: fix locking on error path
Date: Tue, 1 Sep 2020 16:08:36 +0200 [thread overview]
Message-ID: <20200901140836.GB580118@kroah.com> (raw)
In-Reply-To: <20200901110125.000007cf@Huawei.com>
On Tue, Sep 01, 2020 at 11:01:25AM +0100, Jonathan Cameron wrote:
> On Tue, 1 Sep 2020 11:32:18 +0200
> Angelo Compagnucci <angelo.compagnucci@gmail.com> wrote:
>
> > Reading from the chip should be unlocked on error path else the lock
> > could never being released.
>
> We should also reference the fix that we are fixing so I've added
> an additional fixes tag below and a reported by tag for Julia.
>
> >
> > Fixes: 07914c84ba30 ("iio: adc: Add driver for Microchip MCP3422/3/4 high resolution ADC")
> Fixes: 3f1093d83d71 ("iio: adc: mcp3422: fix locking scope")
> > Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
> Reported-by: Julia Lawall <julia.lawall@inria.fr>
> Acked-by: Jonathan Cameron <jonathan.cameron@huawei.com>
>
> Greg, this is the fix for the issue Julia reported.
>
> Sorry for the hassle (and messing this up in the first palce), but
> could you pick this one up directly into your staging-linus branch.
No worries, now queued up, thanks.
greg k-h
prev parent reply other threads:[~2020-09-01 14:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-01 9:32 [PATCH] iio: adc: mcp3422: fix locking on error path Angelo Compagnucci
2020-09-01 10:01 ` Jonathan Cameron
2020-09-01 14:08 ` Greg KH [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=20200901140836.GB580118@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=Jonathan.Cameron@huawei.com \
--cc=angelo.compagnucci@gmail.com \
--cc=jic23@kernel.org \
--cc=julia.lawall@inria.fr \
--cc=linux-iio@vger.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