Skip to contentSkip to conversation

Fix one more signature discrepancy between sysfs implementation and docs.

PATCH New Ira Weiny 1 participant 1 message Jul 15, 2010 Documentation

lore
Share & tools
lore

Ira Weiny

author
#0 lore raw

PATCH 1/1 Fix one more signature discrepancy between sysfs implementation and docs.

This patch builds on the one submitted by Bart here: http://lkml.org/lkml/2010/7/10/72

applies to linux-next.

---
 Documentation/filesystems/sysfs.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Documentation/filesystems/sysfs.txt +2 -2
index d78ed0b..5d1335f 100644
@@ -4,7 +4,7 @@ sysfs - _The_ filesystem for exporting kernel objects.
 Patrick Mochel	<[email protected]>
 Mike Murphy <[email protected]>
 
-Revised:    10 July 2010
+Revised:    15 July 2010
 Original:   10 January 2003
 
 
@@ -333,7 +333,7 @@ Structure:
 struct bus_attribute {
         struct attribute        attr;
         ssize_t (*show)(struct bus_type *, char * buf);
-        ssize_t (*store)(struct bus_type *, const char * buf);
+        ssize_t (*store)(struct bus_type *, const char * buf, size_t count);
 };
 
 Declaring:
Signature · 1 line
1.5.4.5