summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/device_id.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2010-08-09 18:12:52 +0200
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2010-08-09 18:12:53 +0200
commit7cd403142d5dbffa354b7dd369b1069e01b1ae19 (patch)
treecea6fccf5b48466599a79ad19b22bebc21a56f0b /drivers/s390/cio/device_id.c
parentdbedd0ee47313f2a3c94b19346785fcdfa721390 (diff)
downloadblackbird-op-linux-7cd403142d5dbffa354b7dd369b1069e01b1ae19.tar.gz
blackbird-op-linux-7cd403142d5dbffa354b7dd369b1069e01b1ae19.zip
[S390] cio: ccw_device_online_store return -EINVAL in case of missing driver
If no driver is attached to a device or the driver provides no set_online/set_offline function, setting this device online/offline via its sysfs online attribute will silently fail but return success. This patch changes the behavior to return -EINVAL in those cases. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/device_id.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud