login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
26
Re: [PATCH][resubmit] TPM: update char dev BKL pushdown
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Alan Cox
Subject:
Re: [PATCH][resubmit] TPM: update char dev BKL pushdown
Date: Tuesday, August 26, 2008 - 2:08 pm
> + atomic_set(&chip->is_open, 1);
quoted text
> + get_device(chip->dev); /* protect from chip disappearing */
Why not just use test_and_set_bit() ? You seem to be abusing atomic_t to achieve this. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH][resubmit] TPM: update char dev BKL pushdown
, Rajiv Andrade
, (Tue Aug 26, 1:56 pm)
Re: [PATCH][resubmit] TPM: update char dev BKL pushdown
, Alan Cox
, (Tue Aug 26, 2:08 pm)
Re: [PATCH][resubmit] TPM: update char dev BKL pushdown
, Serge E. Hallyn
, (Tue Aug 26, 2:29 pm)
Re: [PATCH][resubmit] TPM: update char dev BKL pushdown
, Serge E. Hallyn
, (Tue Aug 26, 8:19 pm)
Re: [PATCH][resubmit] TPM: update char dev BKL pushdown
, Rajiv Andrade
, (Wed Aug 27, 7:32 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andrew Morton
Re: [PATCH] lazy freeing of memory through MADV_FREE 2/2
Stephen Rothwell
linux-next: manual merge of the block tree with the ext4 tree
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Greg KH
Re: [ANNOUNCE] OSS Proxy using CUSE
Linus Torvalds
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
git
:
Felipe Contreras
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Johannes Schindelin
[PATCH] fetch: refuse to fetch into the current branch in a non-bare repository
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Nicolas Pitre
Re: About git and the use of SHA-1
Alex Riesen
Re: git exclude patterns for directory
git-commits-head
:
Linux Kernel Mailing List
sh: Fix compile error by operands(mov.l) in sh3/entry.S
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
tmpfs: depend on shmem
Linux Kernel Mailing List
drivers/acpi: use kasprintf
linux-netdev
:
Andi Kleen
Re: RFC: Nagle latency tuning
Paul Gortmaker
[PATCH net-next 09/16] tipc: Relocate trivial link status functions to header file
Russell King
Re: [BUG] New Kernel Bugs
Herbert Xu
Re: Oops in tun: bisected to Limit amount of queued packets per device
gregkh
Patch "IPv6: keep route for tentative address" has been added to the 2.6.34-stable...
openbsd-misc
:
Andres Salazar
About priorities in /etc/resolv.conf
Rob Shepherd
x86 hardware for router system
Damien Miller
Re: Patching a SSH 'Weakness'
P. Souza
Re: RouterBOARD RB600A support
Tonnerre LOMBARD
Re: bge0: watchdog timeout
Colocation donated by:
Syndicate