diff options
Diffstat (limited to 'drivers/acpi/acpica/utfileio.c')
-rw-r--r-- | drivers/acpi/acpica/utfileio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/utfileio.c b/drivers/acpi/acpica/utfileio.c index d435b7b7eb94..be49c719f1f5 100644 --- a/drivers/acpi/acpica/utfileio.c +++ b/drivers/acpi/acpica/utfileio.c @@ -106,6 +106,7 @@ acpi_ut_check_text_mode_corruption(u8 *table, u32 table_length, u32 file_length) pairs++; } + i++; } } @@ -125,6 +126,7 @@ acpi_ut_check_text_mode_corruption(u8 *table, u32 table_length, u32 file_length) acpi_os_printf("Table has been corrupted by text mode conversion\n"); acpi_os_printf("All LFs (%u) were changed to CR/LF pairs\n", pairs); acpi_os_printf("Table cannot be repaired!\n"); + return (AE_BAD_VALUE); } |