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
d870ec72
Commit
d870ec72
authored
Feb 07, 2008
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branches 'release' and 'hp-cid' into release
parents
7924e4f6
02f8a858
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
drivers/acpi/namespace/nsxfeval.c
drivers/acpi/namespace/nsxfeval.c
+7
-3
No files found.
drivers/acpi/namespace/nsxfeval.c
View file @
d870ec72
...
@@ -443,6 +443,7 @@ acpi_ns_get_device_callback(acpi_handle obj_handle,
...
@@ -443,6 +443,7 @@ acpi_ns_get_device_callback(acpi_handle obj_handle,
struct
acpica_device_id
hid
;
struct
acpica_device_id
hid
;
struct
acpi_compatible_id_list
*
cid
;
struct
acpi_compatible_id_list
*
cid
;
acpi_native_uint
i
;
acpi_native_uint
i
;
int
found
;
status
=
acpi_ut_acquire_mutex
(
ACPI_MTX_NAMESPACE
);
status
=
acpi_ut_acquire_mutex
(
ACPI_MTX_NAMESPACE
);
if
(
ACPI_FAILURE
(
status
))
{
if
(
ACPI_FAILURE
(
status
))
{
...
@@ -496,16 +497,19 @@ acpi_ns_get_device_callback(acpi_handle obj_handle,
...
@@ -496,16 +497,19 @@ acpi_ns_get_device_callback(acpi_handle obj_handle,
/* Walk the CID list */
/* Walk the CID list */
found
=
0
;
for
(
i
=
0
;
i
<
cid
->
count
;
i
++
)
{
for
(
i
=
0
;
i
<
cid
->
count
;
i
++
)
{
if
(
ACPI_STRNCMP
(
cid
->
id
[
i
].
value
,
info
->
hid
,
if
(
ACPI_STRNCMP
(
cid
->
id
[
i
].
value
,
info
->
hid
,
sizeof
(
struct
sizeof
(
struct
acpi_compatible_id
))
!
=
acpi_compatible_id
))
=
=
0
)
{
0
)
{
ACPI_FREE
(
cid
)
;
found
=
1
;
return
(
AE_OK
)
;
break
;
}
}
}
}
ACPI_FREE
(
cid
);
ACPI_FREE
(
cid
);
if
(
!
found
)
return
(
AE_OK
);
}
}
}
}
...
...
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