From: Sven Barth Date: Fri, 14 Feb 2020 18:48:02 +0000 (-0800) Subject: ACPICA: use acpi_size instead of u32 for prefix_path_length X-Git-Tag: v5.15~4123^2~1^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a34991fdf421170ee634c73b5fe0785817dcb11e;p=platform%2Fkernel%2Flinux-starfive.git 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: https://github.com/acpica/acpica/commit/0f64c317 Signed-off-by: Sven Barth Signed-off-by: Bob Moore Signed-off-by: Erik Kaneda Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/acpica/nsnames.c b/drivers/acpi/acpica/nsnames.c index 832b79c..d4d2614 100644 --- a/drivers/acpi/acpica/nsnames.c +++ b/drivers/acpi/acpica/nsnames.c @@ -346,7 +346,7 @@ char *acpi_ns_build_prefixed_pathname(union acpi_generic_state *prefix_scope, char *full_path = NULL; char *external_path = NULL; char *prefix_path = NULL; - u32 prefix_path_length = 0; + acpi_size prefix_path_length = 0; /* If there is a prefix, get the pathname to it */