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
5bd049f8
Commit
5bd049f8
authored
Jun 03, 2004
by
Alexander Viro
Committed by
Linus Torvalds
Jun 03, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sparse: drivers/pnp annotation
parent
3e83f872
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/pnp/isapnp/proc.c
drivers/pnp/isapnp/proc.c
+1
-1
drivers/pnp/pnpbios/proc.c
drivers/pnp/pnpbios/proc.c
+1
-1
No files found.
drivers/pnp/isapnp/proc.c
View file @
5bd049f8
...
...
@@ -55,7 +55,7 @@ static loff_t isapnp_proc_bus_lseek(struct file *file, loff_t off, int whence)
return
(
file
->
f_pos
=
new
);
}
static
ssize_t
isapnp_proc_bus_read
(
struct
file
*
file
,
char
*
buf
,
size_t
nbytes
,
loff_t
*
ppos
)
static
ssize_t
isapnp_proc_bus_read
(
struct
file
*
file
,
char
__user
*
buf
,
size_t
nbytes
,
loff_t
*
ppos
)
{
struct
inode
*
ino
=
file
->
f_dentry
->
d_inode
;
struct
proc_dir_entry
*
dp
=
PDE
(
ino
);
...
...
drivers/pnp/pnpbios/proc.c
View file @
5bd049f8
...
...
@@ -176,7 +176,7 @@ static int proc_read_node(char *buf, char **start, off_t pos,
return
len
;
}
static
int
proc_write_node
(
struct
file
*
file
,
const
char
*
buf
,
static
int
proc_write_node
(
struct
file
*
file
,
const
char
__user
*
buf
,
unsigned
long
count
,
void
*
data
)
{
struct
pnp_bios_node
*
node
;
...
...
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