Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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;
}

/*