From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: Pavel Andrianov <andrianov@ispras.ru>
Cc: William Hubbs <w.d.hubbs@gmail.com>,
Chris Brannon <chris@the-brannons.com>,
Kirk Reiser <kirk@reisers.ca>,
speakup@linux-speakup.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org,
Vaishali Thakkar <vaishali.thakkar@oracle.com>,
ldv-project@linuxtesting.org
Subject: Re: A potential race in drivers/staging/speakup/speakup.ko
Date: Mon, 5 Sep 2016 12:38:01 +0200 [thread overview]
Message-ID: <20160905103801.GN15376@var.bordeaux.inria.fr> (raw)
In-Reply-To: <d6a170e7-477f-3836-8eb2-00458364ecbe@ispras.ru>
Pavel Andrianov, on Mon 05 Sep 2016 13:33:33 +0300, wrote:
> synth_direct_store may be called via device_attributes interface.
Ah, right.
> In which function the lock should be added?
That'd be synth_direct_store then, around the while loop.
Samuel
prev parent reply other threads:[~2016-09-05 10:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-05 8:51 Pavel Andrianov
2016-09-05 9:43 ` Samuel Thibault
2016-09-05 9:54 ` Pavel Andrianov
2016-09-05 9:56 ` Samuel Thibault
2016-09-05 10:33 ` Pavel Andrianov
2016-09-05 10:38 ` Samuel Thibault [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=20160905103801.GN15376@var.bordeaux.inria.fr \
--to=samuel.thibault@ens-lyon.org \
--cc=andrianov@ispras.ru \
--cc=chris@the-brannons.com \
--cc=devel@driverdev.osuosl.org \
--cc=kirk@reisers.ca \
--cc=ldv-project@linuxtesting.org \
--cc=linux-kernel@vger.kernel.org \
--cc=speakup@linux-speakup.org \
--cc=vaishali.thakkar@oracle.com \
--cc=w.d.hubbs@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®