From: Sebastian Ott Date: Fri, 9 Nov 2012 13:33:06 +0000 (+0100) Subject: s390/ccwgroup: set_online return error when already online X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~29^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cff971026d7c19f67f9312e753bb06f18b6cdae7;p=pandora-kernel.git 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 Signed-off-by: Sebastian Ott Acked-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed