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
215dd828
Commit
215dd828
authored
Jan 29, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PCI: fix compiler warning in probe.c cause by PPC patch.
parent
07d880ac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
drivers/pci/probe.c
drivers/pci/probe.c
+5
-3
No files found.
drivers/pci/probe.c
View file @
215dd828
...
@@ -628,11 +628,13 @@ int __devinit pci_scan_slot(struct pci_bus *bus, int devfn)
...
@@ -628,11 +628,13 @@ int __devinit pci_scan_slot(struct pci_bus *bus, int devfn)
* If this is a single function device,
* If this is a single function device,
* don't scan past the first function.
* don't scan past the first function.
*/
*/
if
(
!
dev
->
multifunction
)
if
(
!
dev
->
multifunction
)
{
if
(
func
>
0
)
if
(
func
>
0
)
{
dev
->
multifunction
=
1
;
dev
->
multifunction
=
1
;
else
}
else
{
break
;
break
;
}
}
}
else
{
}
else
{
if
(
func
==
0
)
if
(
func
==
0
)
break
;
break
;
...
...
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