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
Kirill Smelkov
linux
Commits
a4e90313
Commit
a4e90313
authored
Jun 10, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PCI: sparse fixups for drivers/pci/proc.c
parent
62a3e57c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/pci/proc.c
drivers/pci/proc.c
+3
-3
No files found.
drivers/pci/proc.c
View file @
a4e90313
...
...
@@ -44,7 +44,7 @@ proc_bus_pci_lseek(struct file *file, loff_t off, int whence)
}
static
ssize_t
proc_bus_pci_read
(
struct
file
*
file
,
char
*
buf
,
size_t
nbytes
,
loff_t
*
ppos
)
proc_bus_pci_read
(
struct
file
*
file
,
char
__user
*
buf
,
size_t
nbytes
,
loff_t
*
ppos
)
{
const
struct
inode
*
ino
=
file
->
f_dentry
->
d_inode
;
const
struct
proc_dir_entry
*
dp
=
PDE
(
ino
);
...
...
@@ -126,7 +126,7 @@ proc_bus_pci_read(struct file *file, char *buf, size_t nbytes, loff_t *ppos)
}
static
ssize_t
proc_bus_pci_write
(
struct
file
*
file
,
const
char
*
buf
,
size_t
nbytes
,
loff_t
*
ppos
)
proc_bus_pci_write
(
struct
file
*
file
,
const
char
__user
*
buf
,
size_t
nbytes
,
loff_t
*
ppos
)
{
const
struct
inode
*
ino
=
file
->
f_dentry
->
d_inode
;
const
struct
proc_dir_entry
*
dp
=
PDE
(
ino
);
...
...
@@ -323,7 +323,7 @@ static void *pci_seq_next(struct seq_file *m, void *v, loff_t *pos)
{
struct
list_head
*
p
=
v
;
(
*
pos
)
++
;
return
p
->
next
!=
&
pci_devices
?
p
->
next
:
NULL
;
return
p
->
next
!=
&
pci_devices
?
(
void
*
)
p
->
next
:
NULL
;
}
static
void
pci_seq_stop
(
struct
seq_file
*
m
,
void
*
v
)
{
...
...
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