From: Larry Finger <Larry.Finger-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
To: Michael Buesch <mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org>
Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Martin Langer <martin-langer-Mmb7MZpHnFY@public.gmane.org>,
bcm43xx-dev-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org,
John Linville <linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
Subject: Re: [PATCH] ucode debug status via sysfs for wireless-2.6
Date: Thu, 07 Sep 2006 08:21:14 -0500 [thread overview]
Message-ID: <45001CCA.1000304@lwfinger.net> (raw)
In-Reply-To: <200609071033.52258.mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org>
Michael Buesch wrote:
> On Thursday 07 September 2006 03:34, Larry Finger wrote:
>> + return -EPERM;
>> +
>
> you want to take the spinlock lock here, too.
Obviously, I copied the wrong model. Is it correct that one should take both locks if your code will
touch the hardware, but the mutex lock only is sufficient if your code just accesses data
structures? This seems to be the pattern in the other bcm43xx_attr_xxxx_show routines.
Larry
next prev parent reply other threads:[~2006-09-07 13:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20060904205340.GB3726@tuba>
[not found] ` <200609042256.54629.mb@bu3sch.de>
[not found] ` <20060905181232.GA4733@tuba>
2006-09-07 1:34 ` [PATCH] ucode debug status via sysfs for wireless-2.6 Larry Finger
[not found] ` <44FF772A.5000301-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
2006-09-07 8:33 ` Michael Buesch
[not found] ` <200609071033.52258.mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org>
2006-09-07 13:21 ` Larry Finger [this message]
[not found] ` <45001CCA.1000304-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
2006-09-07 20:48 ` Michael Buesch
2006-09-07 21:05 ` Larry Finger
2006-09-07 15:12 ` [PATCH] Try 2: " Larry Finger
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=45001CCA.1000304@lwfinger.net \
--to=larry.finger-tq5ms3gmjblk1umjsbkqmq@public.gmane.org \
--cc=bcm43xx-dev-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org \
--cc=linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org \
--cc=martin-langer-Mmb7MZpHnFY@public.gmane.org \
--cc=mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.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).