forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/acpi/acpica/utascii.c
....@@ -3,7 +3,7 @@
33 *
44 * Module Name: utascii - Utility ascii functions
55 *
6
- * Copyright (C) 2000 - 2018, Intel Corp.
6
+ * Copyright (C) 2000 - 2020, Intel Corp.
77 *
88 *****************************************************************************/
99
....@@ -30,7 +30,7 @@
3030
3131 /* Validate each character in the signature */
3232
33
- for (i = 0; i < ACPI_NAME_SIZE; i++) {
33
+ for (i = 0; i < ACPI_NAMESEG_SIZE; i++) {
3434 if (!acpi_ut_valid_name_char(name[i], i)) {
3535 return (FALSE);
3636 }