Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42803
b: refs/heads/master
c: 064b022
h: refs/heads/master
i:
  42801: fc75be2
  42799: 017aeb3
v: v3
  • Loading branch information
Heiko Carstens authored and Linus Torvalds committed Dec 7, 2006
1 parent 954a61e commit 7bbfb59
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: 7116e994b47f3988389be4ceee67dac64b56e0d0
refs/heads/master: 064b022c7adb2d853378078a9dc141f8288d1c73
3 changes: 2 additions & 1 deletion trunk/kernel/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,8 @@ read_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos)
read = 0;

while (p < sizeof(unsigned int) && count > 0) {
put_user(*((char *)(&sample_step)+p),buf);
if (put_user(*((char *)(&sample_step)+p),buf))
return -EFAULT;
buf++; p++; count--; read++;
}
pnt = (char *)prof_buffer + p - sizeof(atomic_t);
Expand Down

0 comments on commit 7bbfb59

Please sign in to comment.