login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
12
Re: [PATCH v1.3 2/4] key: add tpm_send command
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Rajiv Andrade
Subject:
Re: [PATCH v1.3 2/4] key: add tpm_send command
Date: Friday, November 12, 2010 - 2:24 pm
Hi Dave, On 11/12/2010 12:48 PM, David Safford wrote:
quoted text
> On Fri, 2010-11-12 at 14:11 +0000, David Howells wrote: >> Mimi Zohar<zohar@linux.vnet.ibm.com> wrote: >> >>>>> + module_put(chip->dev->driver->owner); >>>> Where's the corresponding module_get()? I suspect this should be wrapped to >>>> match tpm_chip_find_get(). >>>> >>>> David >>> The module_get() is in tpm_chip_find_get(), which is just a helper. >>> (It's used this way throughout tpm.c) >> I'd make a function tpm_chip_find_put() just to wrap module_put() and then >> place it with tpm_chip_find_get() in the sources. That makes it easier to see >> what's going on. > Or alternately rename the helper to tpm_chip_find_and_module_get()? > In either case, this is really up to Rajiv (the maintainer for tpm.c > who has already acked this patch), as this usage already appears in > other places in tpm.c. There would have to be a separate patch fixing > this for all of the instances. Rajiv, your thoughts? > > dave
Rename the helper to tpm_chip_find_and_module_get() solves the naming issue in a simpler and better way in my opinion. Thanks, Rajiv --
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 v1.3 0/4] keys: trusted and encrypted keys
, Mimi Zohar
, (Wed Nov 10, 8:51 am)
[PATCH v1.3 1/4] lib: hex2bin converts ascii hexadecimal s ...
, Mimi Zohar
, (Wed Nov 10, 8:51 am)
[PATCH v1.3 2/4] key: add tpm_send command
, Mimi Zohar
, (Wed Nov 10, 8:51 am)
[PATCH v1.3 3/4] keys: add new trusted key-type
, Mimi Zohar
, (Wed Nov 10, 8:51 am)
[PATCH v1.3 4/4] keys: add new key-type encrypted
, Mimi Zohar
, (Wed Nov 10, 8:51 am)
Re: [PATCH v1.3 1/4] lib: hex2bin converts ascii hexadecim ...
, David Howells
, (Thu Nov 11, 12:48 pm)
Re: [PATCH v1.3 2/4] key: add tpm_send command
, David Howells
, (Thu Nov 11, 12:48 pm)
Re: [PATCH v1.3 3/4] keys: add new trusted key-type
, David Howells
, (Thu Nov 11, 2:57 pm)
Re: [PATCH v1.3 1/4] lib: hex2bin converts ascii hexadecim ...
, Mimi Zohar
, (Thu Nov 11, 3:23 pm)
Re: [PATCH v1.3 2/4] key: add tpm_send command
, Mimi Zohar
, (Thu Nov 11, 3:25 pm)
Re: [PATCH v1.3 3/4] keys: add new trusted key-type
, David Safford
, (Fri Nov 12, 5:58 am)
Re: [PATCH v1.3 2/4] key: add tpm_send command
, David Howells
, (Fri Nov 12, 7:11 am)
Re: [PATCH v1.3 2/4] key: add tpm_send command
, David Safford
, (Fri Nov 12, 7:48 am)
Re: [PATCH v1.3 3/4] keys: add new trusted key-type
, David Howells
, (Fri Nov 12, 9:52 am)
Re: [PATCH v1.3 3/4] keys: add new trusted key-type
, David Safford
, (Fri Nov 12, 10:39 am)
Re: [PATCH v1.3 3/4] keys: add new trusted key-type
, David Howells
, (Fri Nov 12, 11:36 am)
Re: [PATCH v1.3 4/4] keys: add new key-type encrypted
, David Howells
, (Fri Nov 12, 12:45 pm)
Re: [PATCH v1.3 4/4] keys: add new key-type encrypted
, Mimi Zohar
, (Fri Nov 12, 2:02 pm)
Re: [PATCH v1.3 4/4] keys: add new key-type encrypted
, David Howells
, (Fri Nov 12, 2:23 pm)
Re: [PATCH v1.3 2/4] key: add tpm_send command
, Rajiv Andrade
, (Fri Nov 12, 2:24 pm)
Re: [PATCH v1.3 2/4] key: add tpm_send command
, David Safford
, (Fri Nov 12, 3:06 pm)
Re: [PATCH v1.3 2/4] key: add tpm_send command
, David Howells
, (Fri Nov 12, 3:11 pm)
Re: [PATCH v1.3 4/4] keys: add new key-type encrypted
, Mimi Zohar
, (Sat Nov 13, 5:33 pm)
Re: [PATCH v1.3 4/4] keys: add new key-type encrypted
, David Howells
, (Mon Nov 15, 9:18 am)
Re: [PATCH v1.3 4/4] keys: add new key-type encrypted
, Mimi Zohar
, (Mon Nov 15, 12:35 pm)
Re: [PATCH v1.3 4/4] keys: add new key-type encrypted
, David Howells
, (Tue Nov 16, 7:08 am)
Re: [PATCH v1.3 4/4] keys: add new key-type encrypted
, Mimi Zohar
, (Tue Nov 16, 7:38 am)
Re: [PATCH v1.3 4/4] keys: add new key-type encrypted
, David Howells
, (Tue Nov 16, 10:50 am)
Re: [PATCH v1.3 4/4] keys: add new key-type encrypted
, Mimi Zohar
, (Tue Nov 16, 11:54 am)
Re: [PATCH v1.3 4/4] keys: add new key-type encrypted
, David Howells
, (Tue Nov 16, 11:58 am)
Re: [PATCH v1.3 4/4] keys: add new key-type encrypted
, Mimi Zohar
, (Tue Nov 16, 1:43 pm)
Re: [PATCH v1.3 2/4] key: add tpm_send command
, Rajiv Andrade
, (Wed Nov 17, 6:12 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interface?
Richard Daemon
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate