From: morpheus.ibis@gmail.com (Pavel Herrmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] MAX1111: Fix Race condition causing NULL pointer exception
Date: Wed, 29 Jun 2011 22:11:20 +0200 [thread overview]
Message-ID: <6718666.udIax3Cf1F@bloomfield> (raw)
In-Reply-To: <1307131203-10845-1-git-send-email-morpheus.ibis@gmail.com>
anyone picked this yet?
On Friday 03 of June 2011 22:00:03 Pavel Herrmann wrote:
> spi_sync call uses its spi_message parameter to keep completion information,
> having this structure static is not thread-safe, potentially causing one
> thread having pointers to memory on or above other threads stack. use mutex
> to prevent multiple access
>
> Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
> Acked-by: Pavel Machek <pavel@ucw.cz>
> Acked-by: Marek Vasut <marek.vasut@gmail.com>
> Acked-by: Cyril Hrubis <metan@ucw.cz>
>
> ---
> drivers/hwmon/max1111.c | 12 ++++++++++++
> 1 files changed, 12 insertions(+), 0 deletions(-)
>
next prev parent reply other threads:[~2011-06-29 20:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-03 20:00 [PATCH v2] MAX1111: Fix Race condition causing NULL pointer exception Pavel Herrmann
2011-06-03 22:32 ` [stable] " Greg KH
2011-06-29 20:11 ` Pavel Herrmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-07-11 18:47 Pavel Herrmann
2011-07-11 20:11 ` Jean Delvare
2011-07-11 20:36 ` Pavel Herrmann
2011-07-11 21:03 ` Guenter Roeck
2011-07-11 21:49 ` Pavel Herrmann
2011-07-12 6:48 ` Jean Delvare
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=6718666.udIax3Cf1F@bloomfield \
--to=morpheus.ibis@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).