Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 477
b: refs/heads/master
c: 9be80c0
h: refs/heads/master
i:
  475: 957b484
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Apr 26, 2005
1 parent de23277 commit 3ac9862
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 993fb38b1c0cd1a56d15aa99b337c780a538baa8
refs/heads/master: 9be80c0f0f61e8c0572d7c9d73b3ef839754a953
4 changes: 2 additions & 2 deletions trunk/drivers/oprofile/oprofile_files.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ unsigned long fs_buffer_size = 131072;
unsigned long fs_cpu_buffer_size = 8192;
unsigned long fs_buffer_watershed = 32768; /* FIXME: tune */

static ssize_t depth_read(struct file * file, char * buf, size_t count, loff_t * offset)
static ssize_t depth_read(struct file * file, char __user * buf, size_t count, loff_t * offset)
{
return oprofilefs_ulong_to_user(backtrace_depth, buf, count, offset);
}


static ssize_t depth_write(struct file * file, char const * buf, size_t count, loff_t * offset)
static ssize_t depth_write(struct file * file, char const __user * buf, size_t count, loff_t * offset)
{
unsigned long val;
int retval;
Expand Down

0 comments on commit 3ac9862

Please sign in to comment.