login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
26
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: Tuesday, February 26, 2008 - 1:09 pm
On Mon, Feb 25, 2008 at 07:04:03PM +0900, Kohei KaiGai wrote:
quoted text
> Greg KH wrote: >> On Mon, Feb 25, 2008 at 03:57:44PM +0900, Kohei KaiGai wrote: >>> 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. > > I want them to be upstreamed, no need to say. > > BTW, how do you think about the second patch which provides the most > practical feature?
I personally have no opinion on this patch, sorry. 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
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Christoph Lameter
[PATCH 1/2] Make page->private usable in compound pages V1
Luben Tuikov
Re: Integration of SCST in the mainstream Linux kernel
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Michal Nazarewicz
Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configur...
Jesse Barnes
Re: PCI probing changes
git
:
Jakub Narebski
Re: GSoC 2008 - Mentors Wanted!
Jan Harkes
Re: git-svn and huge data and modifying the git-svn-HEAD branch directly
Andy Parkins
git-fetch fails with error code 128
Marcus Griep
Re: [PATCH 1/3] Git.pm: Add faculties to allow temp files to be cached
Junio C Hamano
Re: [JGIT PATCH 2/2] Decrease the fetch pack client buffer to the lower minimum
git-commits-head
:
Linux Kernel Mailing List
ARM: 5970/1: nomadik-gpio: fix spinlock usage
Linux Kernel Mailing List
sh-sci: update receive error handling for muxed irqs
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
linux-netdev
:
Eric Dumazet
[PATCH] net: ALIGN/PTR_ALIGN cleanup in alloc_netdev_mq()/netdev_priv()
Patrick McHardy
[NET_SCHED]: sch_ingress: remove netfilter support
Rose, Gregory V
RE: __bad_udelay in network driver breaks build
Patrick McHardy
Re: no reassembly for outgoing packets on RAW socket
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
ropers
Re: Real men don't attack straw men
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Marcus Andree
Re: This is what Linus Torvalds calls openBSD crowd
Lars D. Noodén
Re: sshd.config and AllowUsers
Henning Brauer
Re: Sun Blade 1000?
Colocation donated by:
Syndicate