aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/block/dasd.c
diff options
context:
space:
mode:
authorStefan Haberland <stefan.haberland@de.ibm.com>2008-01-26 08:11:08 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-01-26 08:11:17 -0500
commitde3e0da1270bccb046885fbf1baa9140721de7e0 (patch)
tree169d085e6d19905a55fb3005b5b7e761eb4d6157 /drivers/s390/block/dasd.c
parent3f5615e012b4593943bbc2a6c3ce150bb33e1966 (diff)
[S390] dasd: fix return value of dasd_generic_probe()
Using the return value of ccw_device_set_online as return value for dasd_generic_probe() causes the DASD to fail setting online Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/block/dasd.c')
-rw-r--r--drivers/s390/block/dasd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c
index e6bfce690ca3..da4fe1ecef9e 100644
--- a/drivers/s390/block/dasd.c
+++ b/drivers/s390/block/dasd.c
@@ -1969,9 +1969,10 @@ dasd_generic_probe (struct ccw_device *cdev,
1969 ret = ccw_device_set_online(cdev); 1969 ret = ccw_device_set_online(cdev);
1970 if (ret) 1970 if (ret)
1971 printk(KERN_WARNING 1971 printk(KERN_WARNING
1972 "dasd_generic_probe: could not initially online " 1972 "dasd_generic_probe: could not initially "
1973 "ccw-device %s\n", cdev->dev.bus_id); 1973 "online ccw-device %s; return code: %d\n",
1974 return ret; 1974 cdev->dev.bus_id, ret);
1975 return 0;
1975} 1976}
1976 1977
1977/* 1978/*