Commit 6c543918 authored by Linus Torvalds's avatar Linus Torvalds

From Rick Lindsley <ricklind@us.ibm.com>: missing return value

in sysfs partition code.
parent dae01d33
...@@ -294,7 +294,7 @@ static ssize_t part_attr_show(struct kobject * kobj, struct attribute * attr, ...@@ -294,7 +294,7 @@ static ssize_t part_attr_show(struct kobject * kobj, struct attribute * attr,
struct part_attribute * part_attr = container_of(attr,struct part_attribute,attr); struct part_attribute * part_attr = container_of(attr,struct part_attribute,attr);
ssize_t ret = 0; ssize_t ret = 0;
if (part_attr->show) if (part_attr->show)
part_attr->show(p,page,count,off); ret = part_attr->show(p,page,count,off);
return ret; return ret;
} }
......
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