commit | d816d4238245b019d6f86f58163c78f015bd94ed | [log] [tgz] |
---|---|---|
author | Klaus-Dieter Wacker <kdwacker@de.ibm.com> | Wed Oct 14 22:54:58 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 17 23:57:22 2009 -0700 |
tree | 49ca1fdc96ce1b65ed91a9d288b4efce70565128 | |
parent | d62e09e34eba15be382a7aed27b0fa67112e29e0 [diff] |
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>