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
288f7f44
Commit
288f7f44
authored
Feb 07, 2005
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6
parents
ece74be2
75687453
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/pci/hotplug/rpaphp_core.c
drivers/pci/hotplug/rpaphp_core.c
+4
-4
No files found.
drivers/pci/hotplug/rpaphp_core.c
View file @
288f7f44
...
@@ -224,7 +224,7 @@ static int get_children_props(struct device_node *dn, int **drc_indexes,
...
@@ -224,7 +224,7 @@ static int get_children_props(struct device_node *dn, int **drc_indexes,
if
(
!
indexes
||
!
names
||
!
types
||
!
domains
)
{
if
(
!
indexes
||
!
names
||
!
types
||
!
domains
)
{
/* Slot does not have dynamically-removable children */
/* Slot does not have dynamically-removable children */
return
1
;
return
-
EINVAL
;
}
}
if
(
drc_indexes
)
if
(
drc_indexes
)
*
drc_indexes
=
indexes
;
*
drc_indexes
=
indexes
;
...
@@ -260,7 +260,7 @@ int rpaphp_get_drc_props(struct device_node *dn, int *drc_index,
...
@@ -260,7 +260,7 @@ int rpaphp_get_drc_props(struct device_node *dn, int *drc_index,
}
}
rc
=
get_children_props
(
dn
->
parent
,
&
indexes
,
&
names
,
&
types
,
&
domains
);
rc
=
get_children_props
(
dn
->
parent
,
&
indexes
,
&
names
,
&
types
,
&
domains
);
if
(
rc
)
{
if
(
rc
<
0
)
{
return
1
;
return
1
;
}
}
...
@@ -307,7 +307,7 @@ static int is_php_dn(struct device_node *dn, int **indexes, int **names,
...
@@ -307,7 +307,7 @@ static int is_php_dn(struct device_node *dn, int **indexes, int **names,
int
rc
;
int
rc
;
rc
=
get_children_props
(
dn
,
indexes
,
names
,
&
drc_types
,
power_domains
);
rc
=
get_children_props
(
dn
,
indexes
,
names
,
&
drc_types
,
power_domains
);
if
(
rc
)
{
if
(
rc
>=
0
)
{
if
(
is_php_type
((
char
*
)
&
drc_types
[
1
]))
{
if
(
is_php_type
((
char
*
)
&
drc_types
[
1
]))
{
*
types
=
drc_types
;
*
types
=
drc_types
;
return
1
;
return
1
;
...
@@ -331,7 +331,7 @@ static int is_dr_dn(struct device_node *dn, int **indexes, int **names,
...
@@ -331,7 +331,7 @@ static int is_dr_dn(struct device_node *dn, int **indexes, int **names,
rc
=
get_children_props
(
dn
->
parent
,
indexes
,
names
,
types
,
rc
=
get_children_props
(
dn
->
parent
,
indexes
,
names
,
types
,
power_domains
);
power_domains
);
return
(
rc
=
=
0
);
return
(
rc
>
=
0
);
}
}
static
inline
int
is_vdevice_root
(
struct
device_node
*
dn
)
static
inline
int
is_vdevice_root
(
struct
device_node
*
dn
)
...
...
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