Skip to content

Commit a34991f

Browse files
miray-sbrafaeljw
authored andcommitted
ACPICA: use acpi_size instead of u32 for prefix_path_length
strlen() returns a size_t, so use acpi_size instead of u32 for prefix_path_length. ACPICA commit 0f64c317e769a63679442404421da1d5bd61068a Link: acpica/acpica@0f64c317 Signed-off-by: Sven Barth <[email protected]> Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Erik Kaneda <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 8dbb75c commit a34991f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/acpica/nsnames.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ char *acpi_ns_build_prefixed_pathname(union acpi_generic_state *prefix_scope,
346346
char *full_path = NULL;
347347
char *external_path = NULL;
348348
char *prefix_path = NULL;
349-
u32 prefix_path_length = 0;
349+
acpi_size prefix_path_length = 0;
350350

351351
/* If there is a prefix, get the pathname to it */
352352

0 commit comments

Comments
 (0)