/* reclen sysfs attribute - The record length to be used for write CCWs  */
static ssize_t ur_attr_reclen_show(struct device *dev, struct device_attribute *attr, char *buf)
/* reclen sysfs attribute - The record length to be used for write CCWs  */
static ssize_t ur_attr_reclen_show(struct device *dev, struct device_attribute *attr, char *buf)
{
	struct urdev *urd;
	int rc;
	urd = urdev_get_from_cdev(to_ccwdev(dev));
	if (!urd)
		return -ENODEV;
	rc = sprintf(buf, "%zu\n", urd->reclen);
	urdev_put(urd);
	return rc;
}