Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
05c8aaa9
Commit
05c8aaa9
authored
Jun 17, 2013
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wlcore: use *ppos, not file->f_pos
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
c04eba72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/net/wireless/ti/wlcore/debugfs.c
drivers/net/wireless/ti/wlcore/debugfs.c
+2
-2
No files found.
drivers/net/wireless/ti/wlcore/debugfs.c
View file @
05c8aaa9
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment