Commit de3e0da1 authored by Stefan Haberland's avatar Stefan Haberland Committed by Martin Schwidefsky

[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: default avatarStefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 3f5615e0
...@@ -1969,9 +1969,10 @@ dasd_generic_probe (struct ccw_device *cdev, ...@@ -1969,9 +1969,10 @@ dasd_generic_probe (struct ccw_device *cdev,
ret = ccw_device_set_online(cdev); ret = ccw_device_set_online(cdev);
if (ret) if (ret)
printk(KERN_WARNING printk(KERN_WARNING
"dasd_generic_probe: could not initially online " "dasd_generic_probe: could not initially "
"ccw-device %s\n", cdev->dev.bus_id); "online ccw-device %s; return code: %d\n",
return ret; cdev->dev.bus_id, ret);
return 0;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment