Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336658
b: refs/heads/master
c: 47abd13
h: refs/heads/master
v: v3
  • Loading branch information
Bob Moore authored and Rafael J. Wysocki committed Nov 14, 2012
1 parent c3d429c commit 9ca9b9c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 97171c6be3088a68b403c7285d34c151f7dbfb18
refs/heads/master: 47abd13ccfa140ad34620b343bf0e6eca15ed8e8
7 changes: 5 additions & 2 deletions trunk/drivers/acpi/acpica/nsutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,11 @@ acpi_ns_externalize_name(u32 internal_name_length,
(*converted_name)[j++] = '.';
}

ACPI_MOVE_NAME(*converted_name, internal_name);
acpi_ut_repair_name(*converted_name);
/* Copy and validate the 4-char name segment */

ACPI_MOVE_NAME(&(*converted_name)[j],
&internal_name[names_index]);
acpi_ut_repair_name(&(*converted_name)[j]);

j += ACPI_NAME_SIZE;
names_index += ACPI_NAME_SIZE;
Expand Down

0 comments on commit 9ca9b9c

Please sign in to comment.