| .. | .. |
|---|
| 4 | 4 | * Module Name: nsrepair2 - Repair for objects returned by specific |
|---|
| 5 | 5 | * predefined methods |
|---|
| 6 | 6 | * |
|---|
| 7 | | - * Copyright (C) 2000 - 2018, Intel Corp. |
|---|
| 7 | + * Copyright (C) 2000 - 2020, Intel Corp. |
|---|
| 8 | 8 | * |
|---|
| 9 | 9 | *****************************************************************************/ |
|---|
| 10 | 10 | |
|---|
| .. | .. |
|---|
| 25 | 25 | return_object_ptr); |
|---|
| 26 | 26 | |
|---|
| 27 | 27 | typedef struct acpi_repair_info { |
|---|
| 28 | | - char name[ACPI_NAME_SIZE]; |
|---|
| 28 | + char name[ACPI_NAMESEG_SIZE]; |
|---|
| 29 | 29 | acpi_repair_function repair_function; |
|---|
| 30 | 30 | |
|---|
| 31 | 31 | } acpi_repair_info; |
|---|
| .. | .. |
|---|
| 126 | 126 | |
|---|
| 127 | 127 | #define ACPI_FDE_FIELD_COUNT 5 |
|---|
| 128 | 128 | #define ACPI_FDE_BYTE_BUFFER_SIZE 5 |
|---|
| 129 | | -#define ACPI_FDE_DWORD_BUFFER_SIZE (ACPI_FDE_FIELD_COUNT * sizeof (u32)) |
|---|
| 129 | +#define ACPI_FDE_DWORD_BUFFER_SIZE (ACPI_FDE_FIELD_COUNT * (u32) sizeof (u32)) |
|---|
| 130 | 130 | |
|---|
| 131 | 131 | /****************************************************************************** |
|---|
| 132 | 132 | * |
|---|
| .. | .. |
|---|
| 188 | 188 | |
|---|
| 189 | 189 | this_name = acpi_ns_repairable_names; |
|---|
| 190 | 190 | while (this_name->repair_function) { |
|---|
| 191 | | - if (ACPI_COMPARE_NAME(node->name.ascii, this_name->name)) { |
|---|
| 191 | + if (ACPI_COMPARE_NAMESEG(node->name.ascii, this_name->name)) { |
|---|
| 192 | 192 | return (this_name); |
|---|
| 193 | 193 | } |
|---|
| 194 | 194 | |
|---|