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
34f14bfb
Commit
34f14bfb
authored
Jun 09, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PCI: remove pci_for_each_bus() usage from drivers/pci/pci.c
parent
80fc6c72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/pci/pci.c
drivers/pci/pci.c
+2
-2
No files found.
drivers/pci/pci.c
View file @
34f14bfb
...
@@ -55,11 +55,11 @@ pci_bus_max_busnr(struct pci_bus* bus)
...
@@ -55,11 +55,11 @@ pci_bus_max_busnr(struct pci_bus* bus)
unsigned
char
__devinit
unsigned
char
__devinit
pci_max_busnr
(
void
)
pci_max_busnr
(
void
)
{
{
struct
pci_bus
*
bus
;
struct
pci_bus
*
bus
=
NULL
;
unsigned
char
max
,
n
;
unsigned
char
max
,
n
;
max
=
0
;
max
=
0
;
pci_for_each_bus
(
bus
)
{
while
((
bus
=
pci_find_next_bus
(
bus
))
!=
NULL
)
{
n
=
pci_bus_max_busnr
(
bus
);
n
=
pci_bus_max_busnr
(
bus
);
if
(
n
>
max
)
if
(
n
>
max
)
max
=
n
;
max
=
n
;
...
...
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