| .. | .. |
|---|
| 3 | 3 | * |
|---|
| 4 | 4 | * Module Name: evmisc - Miscellaneous event manager support functions |
|---|
| 5 | 5 | * |
|---|
| 6 | | - * Copyright (C) 2000 - 2018, Intel Corp. |
|---|
| 6 | + * Copyright (C) 2000 - 2020, Intel Corp. |
|---|
| 7 | 7 | * |
|---|
| 8 | 8 | *****************************************************************************/ |
|---|
| 9 | 9 | |
|---|
| .. | .. |
|---|
| 230 | 230 | /* Disable all GPEs in all GPE blocks */ |
|---|
| 231 | 231 | |
|---|
| 232 | 232 | status = acpi_ev_walk_gpe_list(acpi_hw_disable_gpe_block, NULL); |
|---|
| 233 | + if (ACPI_FAILURE(status)) { |
|---|
| 234 | + ACPI_EXCEPTION((AE_INFO, status, |
|---|
| 235 | + "Could not disable GPEs in GPE block")); |
|---|
| 236 | + } |
|---|
| 233 | 237 | |
|---|
| 234 | 238 | status = acpi_ev_remove_global_lock_handler(); |
|---|
| 235 | 239 | if (ACPI_FAILURE(status)) { |
|---|
| 236 | | - ACPI_ERROR((AE_INFO, |
|---|
| 237 | | - "Could not remove Global Lock handler")); |
|---|
| 240 | + ACPI_EXCEPTION((AE_INFO, status, |
|---|
| 241 | + "Could not remove Global Lock handler")); |
|---|
| 238 | 242 | } |
|---|
| 239 | 243 | |
|---|
| 240 | 244 | acpi_gbl_events_initialized = FALSE; |
|---|
| .. | .. |
|---|
| 250 | 254 | /* Deallocate all handler objects installed within GPE info structs */ |
|---|
| 251 | 255 | |
|---|
| 252 | 256 | status = acpi_ev_walk_gpe_list(acpi_ev_delete_gpe_handlers, NULL); |
|---|
| 257 | + if (ACPI_FAILURE(status)) { |
|---|
| 258 | + ACPI_EXCEPTION((AE_INFO, status, |
|---|
| 259 | + "Could not delete GPE handlers")); |
|---|
| 260 | + } |
|---|
| 253 | 261 | |
|---|
| 254 | 262 | /* Return to original mode if necessary */ |
|---|
| 255 | 263 | |
|---|