]> git.baikalelectronics.ru Git - kernel.git/commit
lcs: Recognize return codes of ccw_device_set_online().
authorKlaus-Dieter Wacker <kdwacker@de.ibm.com>
Wed, 14 Oct 2009 22:54:58 +0000 (22:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Oct 2009 06:57:22 +0000 (23:57 -0700)
commit0c35be7b5d326b8e6145f6d5a1229f2d4e11e626
tree49ca1fdc96ce1b65ed91a9d288b4efce70565128
parent0e9c33088088c8b7ec15af7624b6dd0838b2248b
lcs: Recognize return codes of ccw_device_set_online().

The creation of a new lcs device requires a call to the function
ccw_device_set_online() for the read and the write channel. Failure
of either call should terminate the lcs device creation immediately
with return code -ENODEV.

Signed-off-by: Klaus-Dieter Wacker <kdwacker@de.ibm.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/lcs.c