Commit 0fb3adf8 authored by Bob Moore's avatar Bob Moore Committed by Rafael J. Wysocki

ACPICA: Disassembler: Expand maximum output string length to 64K

Was 256 bytes max. The original purpose of this constraint was to
limit the amount of debug output. However, the string function in
question (UtPrintString) is now used for the disassembler also,
where 256 bytes is insufficient. Reported by RehabMan@GitHub.
Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLv Zheng <lv.zheng@intel.com>
Acked-by: default avatarLen Brown <len.brown@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 57987ca2
...@@ -616,7 +616,7 @@ int acpi_ut_stricmp(char *string1, char *string2); ...@@ -616,7 +616,7 @@ int acpi_ut_stricmp(char *string1, char *string2);
acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer); acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer);
void acpi_ut_print_string(char *string, u8 max_length); void acpi_ut_print_string(char *string, u16 max_length);
void ut_convert_backslashes(char *pathname); void ut_convert_backslashes(char *pathname);
......
...@@ -333,7 +333,8 @@ acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer) ...@@ -333,7 +333,8 @@ acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer)
* FUNCTION: acpi_ut_print_string * FUNCTION: acpi_ut_print_string
* *
* PARAMETERS: string - Null terminated ASCII string * PARAMETERS: string - Null terminated ASCII string
* max_length - Maximum output length * max_length - Maximum output length. Used to constrain the
* length of strings during debug output only.
* *
* RETURN: None * RETURN: None
* *
...@@ -342,7 +343,7 @@ acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer) ...@@ -342,7 +343,7 @@ acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer)
* *
******************************************************************************/ ******************************************************************************/
void acpi_ut_print_string(char *string, u8 max_length) void acpi_ut_print_string(char *string, u16 max_length)
{ {
u32 i; u32 i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment