From: Sebastian Ott Date: Mon, 9 Aug 2010 16:12:52 +0000 (+0200) Subject: [S390] cio: ccw_device_online_store return -EINVAL in case of missing driver X-Git-Tag: v2.6.36-rc1~296^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cd403142d5dbffa354b7dd369b1069e01b1ae19;p=pandora-kernel.git [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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed