diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2012-11-09 14:33:06 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-11-23 11:14:34 +0100 |
commit | cff971026d7c19f67f9312e753bb06f18b6cdae7 (patch) | |
tree | 71f7dd867568fd3e8681a2eea8af060565ab8d51 /arch/s390/include | |
parent | ce6a04ac1b759beafc88dbc443ae5da867579eeb (diff) |
s390/ccwgroup: set_online return error when already online
Return -EINVAL if set_{on,off}line is called for already {on,off}line
devices. Also return -EINVAL for drivers which do not provide a callback
for set_{on,off}line. This behaviour is now consistent with the one for
ccw devices.
Reported-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Acked-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
0 files changed, 0 insertions, 0 deletions