Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31108
b: refs/heads/master
c: 231caa1
h: refs/heads/master
v: v3
  • Loading branch information
Cornelia Huck authored and Martin Schwidefsky committed Jun 29, 2006
1 parent 6591841 commit abf8c35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: da039bd1e872b89e1c92c6c891c43b96d0a1bc41
refs/heads/master: 231caa1cac555bdd5cb64bf91b554b38e8ddf715
3 changes: 2 additions & 1 deletion trunk/drivers/s390/cio/chsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -918,12 +918,13 @@ chp_measurement_read(struct kobject *kobj, char *buf, loff_t off, size_t count)
chp = to_channelpath(container_of(kobj, struct device, kobj));
css = to_css(chp->dev.parent);

size = sizeof(struct cmg_chars);
size = sizeof(struct cmg_entry);

/* Only allow single reads. */
if (off || count < size)
return 0;
chp_measurement_copy_block((struct cmg_entry *)buf, css, chp->id);
count = size;
return count;
}

Expand Down

0 comments on commit abf8c35

Please sign in to comment.