/* pdcs_osid_read - Stable Storage OS ID register output. @buf: The output buffer to write to.  */
static ssize_t pdcs_osid_read(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
/* pdcs_osid_read - Stable Storage OS ID register output. @buf: The output buffer to write to.  */
static ssize_t pdcs_osid_read(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
{
	char *out = buf;
	if (!buf)
		return -EINVAL;
	out += sprintf(out, "%s dependent data (0x%.4x)\n",
		os_id_to_string(pdcs_osid), pdcs_osid);
	return out - buf;
}