Commit a26929fb authored by Linus Torvalds's avatar Linus Torvalds
parents 4d727a78 3976df9b
...@@ -755,9 +755,8 @@ static ssize_t ipmi_write(struct file *file, ...@@ -755,9 +755,8 @@ static ssize_t ipmi_write(struct file *file,
rv = ipmi_heartbeat(); rv = ipmi_heartbeat();
if (rv) if (rv)
return rv; return rv;
return 1;
} }
return 0; return len;
} }
static ssize_t ipmi_read(struct file *file, static ssize_t ipmi_read(struct file *file,
......
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