<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/sysfs.h, branch v3.12.19</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.12.19</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.12.19'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2013-08-28T16:51:41Z</updated>
<entry>
<title>sysfs: sysfs_create_groups returns a value.</title>
<updated>2013-08-28T16:51:41Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2013-08-28T16:51:41Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=574979c617eb9593f8dfbb804da3f0e00f8bf28e'/>
<id>urn:sha1:574979c617eb9593f8dfbb804da3f0e00f8bf28e</id>
<content type='text'>
When I included the "empty" function for sysfs_create_groups() when
CONFIG_SYSFS=n, I forgot to return a value for it, so things blew up the
build.  This patch fixes that, stupid me.

Reported-by: kbuild test robot &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysfs: add sysfs_create/remove_groups for when SYSFS is not enabled</title>
<updated>2013-08-28T00:24:49Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2013-08-28T00:24:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f799878000c5a9a1e6a311dfd4faa50601dcb1f8'/>
<id>urn:sha1:f799878000c5a9a1e6a311dfd4faa50601dcb1f8</id>
<content type='text'>
We need these functions for when CONFIG_SYSFS=n.

Reported-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysfs: create __ATTR_WO()</title>
<updated>2013-08-23T22:02:01Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2013-08-23T22:02:01Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a65fcce75a75c0d41b938f86d09d42b6f1733309'/>
<id>urn:sha1:a65fcce75a75c0d41b938f86d09d42b6f1733309</id>
<content type='text'>
This creates the macro __ATTR_WO() for write-only attributes, instead of
having to "open define" them.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysfs.h: remove attr_name() macro</title>
<updated>2013-08-22T17:25:34Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2013-08-22T17:25:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3e1026b3fa2f61d33ce6a9e42a22398cc4ab8e58'/>
<id>urn:sha1:3e1026b3fa2f61d33ce6a9e42a22398cc4ab8e58</id>
<content type='text'>
Gotta love a macro that doesn't reduce the typing you have to do.

Also, only the driver core, and one network driver uses this.  The
driver core functions will be going away soon, and I'll convert the
network driver soon to not need this as well, so delete it for now
before anyone else gets some bright ideas and wants to use it.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysfs: fix up minor coding style issues in sysfs.h</title>
<updated>2013-08-22T00:47:05Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2013-08-22T00:47:05Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5da5c9c899dc456d6eb43aae3e8d4e853b7f5306'/>
<id>urn:sha1:5da5c9c899dc456d6eb43aae3e8d4e853b7f5306</id>
<content type='text'>
As long as we are cleaning up sysfs coding style issues, don't forget
the main sysfs.h file, so fix up the space issues there as well.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysfs: add sysfs_create/remove_groups()</title>
<updated>2013-08-21T23:02:19Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2013-08-21T20:47:50Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3e9b2bae8369661070622d05570cbcdfa01770e6'/>
<id>urn:sha1:3e9b2bae8369661070622d05570cbcdfa01770e6</id>
<content type='text'>
These functions are being open-coded in 3 different places in the driver
core, and other driver subsystems will want to start doing this as well,
so move it to the sysfs core to keep it all in one place, where we know
it is written properly.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysfs.h: fix __BIN_ATTR_RW()</title>
<updated>2013-08-20T23:48:54Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2013-08-20T23:48:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6853152689d47b4a1eb9f38a25a18f3f8b7a60de'/>
<id>urn:sha1:6853152689d47b4a1eb9f38a25a18f3f8b7a60de</id>
<content type='text'>
__BIN_ATTR_RW() wasn't passing in the _size field.  As it would break
the build if this macro was ever used, it's obvious no one had ever
tried to use it before.

Fix it so that it can be used.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysfs: use file mode defines from stat.h</title>
<updated>2013-07-16T17:57:37Z</updated>
<author>
<name>Oliver Schinagl</name>
<email>oliver@schinagl.nl</email>
</author>
<published>2013-07-14T23:06:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=aa01aa3ca205ea04f44423a58bae38aec886fb96'/>
<id>urn:sha1:aa01aa3ca205ea04f44423a58bae38aec886fb96</id>
<content type='text'>
With the last patches stat.h was included to the header, and thus those
permission defines should be used.

Signed-off-by: Oliver Schinagl &lt;oliver@schinagl.nl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysfs: add more helper macro's for (bin_)attribute(_groups)</title>
<updated>2013-07-16T17:57:37Z</updated>
<author>
<name>Oliver Schinagl</name>
<email>oliver@schinagl.nl</email>
</author>
<published>2013-07-14T23:05:59Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3493f69f4c4e8703961919a9a56c2d2e6a25b46f'/>
<id>urn:sha1:3493f69f4c4e8703961919a9a56c2d2e6a25b46f</id>
<content type='text'>
With the recent changes to sysfs there's various helper macro's.
However there's no RW, RO BIN_ helper macro's. This patch adds them.

Signed-off-by: Oliver Schinagl &lt;oliver@schinagl.nl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysfs: add support for binary attributes in groups</title>
<updated>2013-07-16T17:57:36Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2013-07-14T23:05:55Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6ab9cea16075ea707022753395f340b67f64304c'/>
<id>urn:sha1:6ab9cea16075ea707022753395f340b67f64304c</id>
<content type='text'>
groups should be able to support binary attributes, just like it
supports "normal" attributes.  This lets us only handle one type of
structure, groups, throughout the driver core and subsystems, making
binary attributes a "full fledged" part of the driver model, and not
something just "tacked on".

Reported-by: Oliver Schinagl &lt;oliver@schinagl.nl&gt;
Reviewed-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Tested-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
