login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
25
Re: [PATCH 1/3] add a private data field within kobj_attribute structure (final#2)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Greg KH
Subject:
Re: [PATCH 1/3] add a private data field within kobj_attribute structure (final#2)
Date: Monday, February 25, 2008 - 12:47 am
On Mon, Feb 25, 2008 at 03:57:44PM +0900, Kohei KaiGai wrote:
quoted text
> Greg KH wrote: >> On Mon, Feb 25, 2008 at 03:10:27PM +0900, Kohei KaiGai wrote: >>> [PATCH 1/3] add a private data field within kobj_attribute structure. >>> >>> This patch add a private data field, declared as void *, within >>> kobj_attribute >>> structure. The _show() and _store() method in the sysfs attribute entries >>> can >>> refer this information to identify what entry is accessed. >>> It makes easier to share a single method implementation with several >>> similar >>> entries, like ones to export the list of capabilities the running kernel >>> supports. >>> >>> Signed-off-by: KaiGai Kohei <kaigai@ak.jp.nec.com> >>> -- >>> Documentation/kobject.txt | 6 ++++++ >> That's good, but you didn't modify the sample/kobject/ file to use the >> new void pointer, instead of the strcmp() call. > > The 3/3 of patches updates sample/kobject to use the new void pointer. > Do you want it to replace strcmp() examples completly?
Doh, I totally missed that one, very sorry. I'll be glad to take patches 1 and 3 in my tree, if you want me to. thanks, greg k-h --
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 0/3] exporting capability name/code pairs (final#2)
, Kohei KaiGai
, (Sun Feb 24, 11:06 pm)
[PATCH 1/3] add a private data field within kobj_attribute ...
, Kohei KaiGai
, (Sun Feb 24, 11:10 pm)
[PATCH 2/3] exporting capability name/code pairs (final#2)
, Kohei KaiGai
, (Sun Feb 24, 11:10 pm)
[PATCH 3/3] a new example to use kobject/kobj_attribute (f ...
, Kohei KaiGai
, (Sun Feb 24, 11:10 pm)
Re: [PATCH 1/3] add a private data field within kobj_attri ...
, Greg KH
, (Sun Feb 24, 11:51 pm)
Re: [PATCH 1/3] add a private data field within kobj_attri ...
, Kohei KaiGai
, (Sun Feb 24, 11:57 pm)
Re: [PATCH 1/3] add a private data field within kobj_attri ...
, Greg KH
, (Mon Feb 25, 12:47 am)
Re: [PATCH 1/3] add a private data field within kobj_attri ...
, Kohei KaiGai
, (Mon Feb 25, 3:04 am)
Re: [PATCH 2/3] exporting capability name/code pairs (final#2)
, Andrew G. Morgan
, (Tue Feb 26, 7:55 am)
Re: [PATCH 1/3] add a private data field within kobj_attri ...
, Greg KH
, (Tue Feb 26, 1:09 pm)
Re: [PATCH 2/3] exporting capability name/code pairs (final#2)
, Serge E. Hallyn
, (Tue Feb 26, 1:58 pm)
Re: [PATCH 1/3] add a private data field within kobj_attri ...
, Valdis.Kletnieks
, (Wed Feb 27, 10:49 pm)
Re: [PATCH 1/3] add a private data field within kobj_attri ...
, Kohei KaiGai
, (Sun Mar 2, 9:42 pm)
Re: [PATCH 2/3] exporting capability name/code pairs (final#2)
, Kohei KaiGai
, (Thu Mar 6, 9:30 pm)
Re: [PATCH 2/3] exporting capability name/code pairs (final#2)
, Greg KH
, (Thu Mar 6, 9:53 pm)
[PATCH 0/3] exporting capability name/code pairs (for 2.6.26)
, KaiGai Kohei
, (Tue Apr 22, 4:12 am)
[PATCH 1/3] add a private data field within kobj_attribute ...
, KaiGai Kohei
, (Tue Apr 22, 4:17 am)
[PATCH 2/3] exporting capability name/code pairs
, KaiGai Kohei
, (Tue Apr 22, 4:18 am)
[PATCH 3/3] a new example to use kobject/kobj_attribute
, KaiGai Kohei
, (Tue Apr 22, 4:18 am)
Re: [PATCH 0/3] exporting capability name/code pairs (for ...
, Alexey Dobriyan
, (Tue Apr 22, 12:29 pm)
Re: [PATCH 0/3] exporting capability name/code pairs (for ...
, KaiGai Kohei
, (Tue Apr 22, 5:38 pm)
Re: [PATCH 0/3] exporting capability name/code pairs (for ...
, Chris Wright
, (Tue Apr 22, 10:37 pm)
Re: [PATCH 0/3] exporting capability name/code pairs (for ...
, Alexey Dobriyan
, (Wed Apr 23, 12:03 am)
Re: [PATCH 0/3] exporting capability name/code pairs (for ...
, KaiGai Kohei
, (Wed Apr 23, 12:15 am)
Re: [PATCH 0/3] exporting capability name/code pairs (for ...
, KaiGai Kohei
, (Wed Apr 23, 12:37 am)
Re: [PATCH 0/3] exporting capability name/code pairs (for ...
, Alexey Dobriyan
, (Tue May 13, 3:12 pm)
Re: [PATCH 0/3] exporting capability name/code pairs (for ...
, KaiGai Kohei
, (Tue May 13, 5:34 pm)
Re: [PATCH 0/3] exporting capability name/code pairs (for ...
, KaiGai Kohei
, (Tue May 13, 5:36 pm)
Re: [PATCH 0/3] exporting capability name/code pairs (for ...
, Chris Wright
, (Tue May 13, 5:52 pm)
Re: [PATCH 0/3] exporting capability name/code pairs (for ...
, KaiGai Kohei
, (Tue May 13, 10:57 pm)
Re: [PATCH 0/3] exporting capability name/code pairs (for ...
, Andrew Morgan
, (Wed May 14, 10:48 pm)
Re: [PATCH 0/3] exporting capability name/code pairs (for ...
, KaiGai Kohei
, (Thu May 15, 12:47 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Howells
[PATCH] KEYS: Use the variable 'key' in keyctl_describe_key()
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Dave Jones
Re: OT: character encodings (was: Linux 2.6.20-rc4)
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
Nick Piggin
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: [PATCH 1/2] Teach git-describe to display distances from tags.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Dan Chokola
Re: how do you "force a pull"?
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
linux-netdev
:
Jan Engelhardt
[PATCH 1/3] net: tcp: make hybla selectable as default congestion module
Jarek Poplawski
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Daniel Schaffrath
Re: tcp bw in 2.6
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
git-commits-head
:
Linux Kernel Mailing List
ipv6: fix an oops when force unload ipv6 module
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Linux Kernel Mailing List
KVM: VMX: Clear CR4.VMXE in hardware_disable
Linux Kernel Mailing List
USB: set correct configuration in probe of ti_usb_3410_5052
openbsd-misc
:
Claudio Jeker
Re: Vlan Tag on Vlan Tag (l2tunneling)
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Tomas Bodzar
bsd: uvm_mapent_alloc: out of static map entries
Community First Financial
Teacher A+ Loan
Colocation donated by:
Syndicate