]> git.neil.brown.name Git - history.git/commit
sysfs: Fixup s390 sysfs files.
authorPatrick Mochel <mochel@osdl.org>
Mon, 13 Jan 2003 05:44:42 +0000 (23:44 -0600)
committerPatrick Mochel <mochel@osdl.org>
Mon, 13 Jan 2003 05:44:42 +0000 (23:44 -0600)
commit8066e9a8171d6b3f6c42b83c2b6687964b5a31cc
treeb6b7207321acb9e22ff8fda0d42ddbc620d5df55
parent3f47b64a6a543558d27729d040e302e5bcffdfde
sysfs: Fixup s390 sysfs files.

- Remove count and off parameters from show() methods.
- Remove off parameter from store() methods.

Note 1: These have not been tested, but should be obviously correct.

Note 2: snprintf() was replaced with sprintf() where the filled buffer
would obviously be < PAGE_SIZE. (like when printing single integer values).
In places where strings were printed, PAGE_SIZE is used as the max string
size.
drivers/s390/block/dasd.c
drivers/s390/cio/ccwgroup.c
drivers/s390/cio/chsc.c
drivers/s390/cio/device.c
drivers/s390/net/ctcmain.c
drivers/s390/net/lcs.c
drivers/s390/net/netiucv.c