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
67a8eb7c
Commit
67a8eb7c
authored
Jun 19, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cset exclude: willy@debian.org|ChangeSet|20030621161842|52492
parent
1a92d38b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
drivers/pci/proc.c
drivers/pci/proc.c
+1
-5
No files found.
drivers/pci/proc.c
View file @
67a8eb7c
...
...
@@ -389,11 +389,7 @@ int pci_proc_attach_device(struct pci_dev *dev)
return
-
EACCES
;
if
(
!
(
de
=
bus
->
procdir
))
{
if
(
pci_domain_nr
(
bus
)
==
0
)
{
sprintf
(
name
,
"%02x"
,
bus
->
number
);
}
else
{
sprintf
(
name
,
"%04x:%02x"
,
pci_domain_nr
(
bus
),
bus
->
number
);
}
sprintf
(
name
,
"%02x"
,
bus
->
number
);
de
=
bus
->
procdir
=
proc_mkdir
(
name
,
proc_bus_pci_dir
);
if
(
!
de
)
return
-
ENOMEM
;
...
...
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