Skip to content

Commit

Permalink
[S390] dasd: fix return value of dasd_generic_probe()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Haberland authored and Martin Schwidefsky committed Jan 26, 2008
1 parent 3f5615e commit de3e0da
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions drivers/s390/block/dasd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1969,9 +1969,10 @@ dasd_generic_probe (struct ccw_device *cdev,
ret = ccw_device_set_online(cdev);
if (ret)
printk(KERN_WARNING
"dasd_generic_probe: could not initially online "
"ccw-device %s\n", cdev->dev.bus_id);
return ret;
"dasd_generic_probe: could not initially "
"online ccw-device %s; return code: %d\n",
cdev->dev.bus_id, ret);
return 0;
}

/*
Expand Down

0 comments on commit de3e0da

Please sign in to comment.