Messages in this thread | | | Date | Tue, 4 Feb 2014 22:08:19 +0100 | Subject | Re: [PATCH v2] pinctrl: protect pinctrl_list add | From | Linus Walleij <> |
| |
On Tue, Feb 4, 2014 at 9:07 AM, Stanislaw Gruszka <sgruszka@redhat.com> wrote:
> We have few fedora bug reports about list corruption on pinctrl, > for example: > https://bugzilla.redhat.com/show_bug.cgi?id=1051918 > > Most likely corruption happen due lack of protection of pinctrl_list > when adding new nodes to it. Patch corrects that. > > Fixes: 42fed7ba44e ("pinctrl: move subsystem mutex to pinctrl_dev struct") > Cc: stable@vger.kernel.org > Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> > --- > I only compile tested patch, also did not get test results from bug > reporters yet. But I'm pretty confident that patch fixes the problem > and does not cause any other deadlock. > > v1 -> v2: point correct first bad commit.
Patch applied. Thanks for bringing this to our attention!
Yours, Linus Walleij
| |