projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c04eba7
)
wlcore: use *ppos, not file->f_pos
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 17 Jun 2013 11:26:19 +0000
(15:26 +0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 29 Jun 2013 08:57:32 +0000
(12:57 +0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/net/wireless/ti/wlcore/debugfs.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ti/wlcore/debugfs.c
b/drivers/net/wireless/ti/wlcore/debugfs.c
index
c3e1f79
..
e17630c
100644
(file)
--- a/
drivers/net/wireless/ti/wlcore/debugfs.c
+++ b/
drivers/net/wireless/ti/wlcore/debugfs.c
@@
-1056,7
+1056,7
@@
static ssize_t dev_mem_read(struct file *file,
return -EINVAL;
memset(&part, 0, sizeof(part));
- part.mem.start =
file->f_
pos;
+ part.mem.start =
*p
pos;
part.mem.size = bytes;
buf = kmalloc(bytes, GFP_KERNEL);
@@
-1137,7
+1137,7
@@
static ssize_t dev_mem_write(struct file *file, const char __user *user_buf,
return -EINVAL;
memset(&part, 0, sizeof(part));
- part.mem.start =
file->f_
pos;
+ part.mem.start =
*p
pos;
part.mem.size = bytes;
buf = kmalloc(bytes, GFP_KERNEL);