[PATCH] sysfs: (rest) if show/store is missing return -EIO
authorDmitry Torokhov <dtor_core@ameritech.net>
Fri, 29 Apr 2005 06:27:34 +0000 (01:27 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jun 2005 22:15:03 +0000 (15:15 -0700)
commit70f2817a43c89b784dc2ec3d06ba5bf3064f8235
tree210bbd16599d4e402051e4ec30c82e70b8b427ef
parent6c1852a08e444a2e66367352a99c0e93c8bf3e97
[PATCH] sysfs: (rest) if show/store is missing return -EIO

sysfs: fix the rest of the kernel so if an attribute doesn't
       implement show or store method read/write will return
       -EIO instead of 0 or -EINVAL or -EPERM.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/acpi/scan.c
drivers/cpufreq/cpufreq.c
drivers/firmware/edd.c
drivers/firmware/efivars.c
drivers/infiniband/core/sysfs.c
kernel/params.c
security/seclvl.c