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: Sunday, February 24, 2008 - 11:51 pm
On Mon, Feb 25, 2008 at 03:10:27PM +0900, Kohei KaiGai wrote:
quoted text
> [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. 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
:
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Greg Kroah-Hartman
[PATCH 22/36] PM: Make wakeup flags available whenever CONFIG_PM is set
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Greg Kroah-Hartman
[PATCH 26/36] Kobject: Replace list_for_each() with list_for_each_entry().
Robert P. J. Day
Re: [uml-devel] User Mode Linux still doesn't build in 2.6.23-final.
git
:
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Pieter de Bie
Re: Using url.insteadOf in git-clone
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
Teemu Likonen
Re: [PATCH] gc --aggressive: make it really aggressive
linux-netdev
:
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Pavel Emelyanov
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing control.
Daniel Schaffrath
Re: tcp bw in 2.6
Guo-Fu Tseng
Re: jme: UDP checksum error, and lots of them
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
openbsd-misc
:
Conor
Re: RFID Reader
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Stuart Henderson
Re: SquidGuard problem
Western Union
Online account has been suspended
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
ALSA: snd-usb-caiaq: Do not expose hardware input mode 0 of A4DJ
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Colocation donated by:
Syndicate