Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128032
b: refs/heads/master
c: d037c5f
h: refs/heads/master
v: v3
  • Loading branch information
Lin Ming authored and Len Brown committed Dec 30, 2008
1 parent 17f11d8 commit 4d2388d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5572a9859fa55216597b8226717691956d3e53e3
refs/heads/master: d037c5fd7367548191eab2b376a1d08c4ffaf7ff
8 changes: 7 additions & 1 deletion trunk/drivers/acpi/namespace/nsutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,15 @@ void acpi_ns_get_internal_name_length(struct acpi_namestring_info *info)
*
* strlen() + 1 covers the first name_seg, which has no path separator
*/
if (acpi_ns_valid_root_prefix(next_external_char[0])) {
if (acpi_ns_valid_root_prefix(*next_external_char)) {
info->fully_qualified = TRUE;
next_external_char++;

/* Skip redundant root_prefix, like \\_SB.PCI0.SBRG.EC0 */

while (acpi_ns_valid_root_prefix(*next_external_char)) {
next_external_char++;
}
} else {
/*
* Handle Carat prefixes
Expand Down

0 comments on commit 4d2388d

Please sign in to comment.