From: Randy Dunlap <rdunlap@xenotime.net>
To: "Dmitry Torokhov" <dtor@insightbb.com>
Cc: "Alexey Dobriyan" <adobriyan@gmail.com>,
linux-joystick@atrey.karlin.mff.cuni.cz,
linux-kernel@vger.kernel.org
Subject: Re: misused local_irq_disable() in analog.c?
Date: Wed, 11 Oct 2006 13:33:37 -0700 [thread overview]
Message-ID: <20061011133337.5d78ace5.rdunlap@xenotime.net> (raw)
In-Reply-To: <d120d5000610111317k4e849707rc358fdd4ad5dae5b@mail.gmail.com>
On Wed, 11 Oct 2006 16:17:33 -0400 Dmitry Torokhov wrote:
> On 10/11/06, Alexey Dobriyan <adobriyan@gmail.com> wrote:
> > Dmitry, take a look at analog_cooked_read():
> >
> > do-while loop there contains local_irq_disable()/local_irq_restore(flags);
> > which aren't complement.
> >
> > Should it be
> >
> > local_irq_save(flags);
> > this = gameport_read(gameport) & port->mask;
> > GET_TIME(now);
> > local_irq_restore(flags);
> >
> > ?
>
> Yep, I think so. Patch?
Alexey replied on another thread (Re: [PATCH] misuse of strstr):
"sorry for absence of patch, I'm on wonders of BY dial-up _and_ Gmail
web interface right now."
---
~Randy
prev parent reply other threads:[~2006-10-11 20:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-11 19:08 Alexey Dobriyan
2006-10-11 20:17 ` Dmitry Torokhov
2006-10-11 20:33 ` Randy Dunlap [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=20061011133337.5d78ace5.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=adobriyan@gmail.com \
--cc=dtor@insightbb.com \
--cc=linux-joystick@atrey.karlin.mff.cuni.cz \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®