diff options
60 files changed, 112 insertions, 112 deletions
diff --git a/drivers/acpi/acpica/dsargs.c b/drivers/acpi/acpica/dsargs.c index fb09b08d7080..afdc6df17abf 100644 --- a/drivers/acpi/acpica/dsargs.c +++ b/drivers/acpi/acpica/dsargs.c | |||
@@ -158,7 +158,7 @@ acpi_ds_execute_arguments(struct acpi_namespace_node *node, | |||
158 | walk_state->deferred_node = node; | 158 | walk_state->deferred_node = node; |
159 | status = acpi_ps_parse_aml(walk_state); | 159 | status = acpi_ps_parse_aml(walk_state); |
160 | 160 | ||
161 | cleanup: | 161 | cleanup: |
162 | acpi_ps_delete_parse_tree(op); | 162 | acpi_ps_delete_parse_tree(op); |
163 | return_ACPI_STATUS(status); | 163 | return_ACPI_STATUS(status); |
164 | } | 164 | } |
diff --git a/drivers/acpi/acpica/dsfield.c b/drivers/acpi/acpica/dsfield.c index d4bfe7b7f90a..2d4c07322576 100644 --- a/drivers/acpi/acpica/dsfield.c +++ b/drivers/acpi/acpica/dsfield.c | |||
@@ -259,7 +259,7 @@ acpi_ds_create_buffer_field(union acpi_parse_object *op, | |||
259 | goto cleanup; | 259 | goto cleanup; |
260 | } | 260 | } |
261 | 261 | ||
262 | cleanup: | 262 | cleanup: |
263 | 263 | ||
264 | /* Remove local reference to the object */ | 264 | /* Remove local reference to the object */ |
265 | 265 | ||
diff --git a/drivers/acpi/acpica/dsmethod.c b/drivers/acpi/acpica/dsmethod.c index a9ffd44c18fe..df3ea125507f 100644 --- a/drivers/acpi/acpica/dsmethod.c +++ b/drivers/acpi/acpica/dsmethod.c | |||
@@ -294,7 +294,7 @@ acpi_ds_begin_method_execution(struct acpi_namespace_node *method_node, | |||
294 | obj_desc->method.thread_count++; | 294 | obj_desc->method.thread_count++; |
295 | return_ACPI_STATUS(status); | 295 | return_ACPI_STATUS(status); |
296 | 296 | ||
297 | cleanup: | 297 | cleanup: |
298 | /* On error, must release the method mutex (if present) */ | 298 | /* On error, must release the method mutex (if present) */ |
299 | 299 | ||
300 | if (obj_desc->method.mutex) { | 300 | if (obj_desc->method.mutex) { |
@@ -424,7 +424,7 @@ acpi_ds_call_control_method(struct acpi_thread_state *thread, | |||
424 | 424 | ||
425 | return_ACPI_STATUS(status); | 425 | return_ACPI_STATUS(status); |
426 | 426 | ||
427 | cleanup: | 427 | cleanup: |
428 | 428 | ||
429 | /* On error, we must terminate the method properly */ | 429 | /* On error, we must terminate the method properly */ |
430 | 430 | ||
diff --git a/drivers/acpi/acpica/dsobject.c b/drivers/acpi/acpica/dsobject.c index 63f0d220ca3d..b1746a68dad1 100644 --- a/drivers/acpi/acpica/dsobject.c +++ b/drivers/acpi/acpica/dsobject.c | |||
@@ -240,7 +240,7 @@ acpi_ds_build_internal_object(struct acpi_walk_state *walk_state, | |||
240 | return_ACPI_STATUS(status); | 240 | return_ACPI_STATUS(status); |
241 | } | 241 | } |
242 | 242 | ||
243 | exit: | 243 | exit: |
244 | *obj_desc_ptr = obj_desc; | 244 | *obj_desc_ptr = obj_desc; |
245 | return_ACPI_STATUS(status); | 245 | return_ACPI_STATUS(status); |
246 | } | 246 | } |
diff --git a/drivers/acpi/acpica/dsopcode.c b/drivers/acpi/acpica/dsopcode.c index 1fc1ff114f26..5205edcf2c01 100644 --- a/drivers/acpi/acpica/dsopcode.c +++ b/drivers/acpi/acpica/dsopcode.c | |||
@@ -257,7 +257,7 @@ acpi_ds_init_buffer_field(u16 aml_opcode, | |||
257 | (buffer_desc->common.reference_count + | 257 | (buffer_desc->common.reference_count + |
258 | obj_desc->common.reference_count); | 258 | obj_desc->common.reference_count); |
259 | 259 | ||
260 | cleanup: | 260 | cleanup: |
261 | 261 | ||
262 | /* Always delete the operands */ | 262 | /* Always delete the operands */ |
263 | 263 | ||
diff --git a/drivers/acpi/acpica/dsutils.c b/drivers/acpi/acpica/dsutils.c index c666fc014987..ade44e49deb4 100644 --- a/drivers/acpi/acpica/dsutils.c +++ b/drivers/acpi/acpica/dsutils.c | |||
@@ -299,7 +299,7 @@ acpi_ds_is_result_used(union acpi_parse_object * op, | |||
299 | goto result_used; | 299 | goto result_used; |
300 | } | 300 | } |
301 | 301 | ||
302 | result_used: | 302 | result_used: |
303 | ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, | 303 | ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, |
304 | "Result of [%s] used by Parent [%s] Op=%p\n", | 304 | "Result of [%s] used by Parent [%s] Op=%p\n", |
305 | acpi_ps_get_opcode_name(op->common.aml_opcode), | 305 | acpi_ps_get_opcode_name(op->common.aml_opcode), |
@@ -308,7 +308,7 @@ acpi_ds_is_result_used(union acpi_parse_object * op, | |||
308 | 308 | ||
309 | return_UINT8(TRUE); | 309 | return_UINT8(TRUE); |
310 | 310 | ||
311 | result_not_used: | 311 | result_not_used: |
312 | ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, | 312 | ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, |
313 | "Result of [%s] not used by Parent [%s] Op=%p\n", | 313 | "Result of [%s] not used by Parent [%s] Op=%p\n", |
314 | acpi_ps_get_opcode_name(op->common.aml_opcode), | 314 | acpi_ps_get_opcode_name(op->common.aml_opcode), |
@@ -752,7 +752,7 @@ acpi_ds_create_operands(struct acpi_walk_state *walk_state, | |||
752 | 752 | ||
753 | return_ACPI_STATUS(status); | 753 | return_ACPI_STATUS(status); |
754 | 754 | ||
755 | cleanup: | 755 | cleanup: |
756 | /* | 756 | /* |
757 | * We must undo everything done above; meaning that we must | 757 | * We must undo everything done above; meaning that we must |
758 | * pop everything off of the operand stack and delete those | 758 | * pop everything off of the operand stack and delete those |
@@ -851,7 +851,7 @@ acpi_status acpi_ds_evaluate_name_path(struct acpi_walk_state *walk_state) | |||
851 | goto exit; | 851 | goto exit; |
852 | } | 852 | } |
853 | 853 | ||
854 | push_result: | 854 | push_result: |
855 | 855 | ||
856 | walk_state->result_obj = new_obj_desc; | 856 | walk_state->result_obj = new_obj_desc; |
857 | 857 | ||
@@ -863,7 +863,7 @@ acpi_status acpi_ds_evaluate_name_path(struct acpi_walk_state *walk_state) | |||
863 | op->common.flags |= ACPI_PARSEOP_IN_STACK; | 863 | op->common.flags |= ACPI_PARSEOP_IN_STACK; |
864 | } | 864 | } |
865 | 865 | ||
866 | exit: | 866 | exit: |
867 | 867 | ||
868 | return_ACPI_STATUS(status); | 868 | return_ACPI_STATUS(status); |
869 | } | 869 | } |
diff --git a/drivers/acpi/acpica/dswexec.c b/drivers/acpi/acpica/dswexec.c index 151d924817e1..1bbb22fd6fa0 100644 --- a/drivers/acpi/acpica/dswexec.c +++ b/drivers/acpi/acpica/dswexec.c | |||
@@ -170,7 +170,7 @@ acpi_ds_get_predicate_value(struct acpi_walk_state *walk_state, | |||
170 | 170 | ||
171 | (void)acpi_ds_do_implicit_return(local_obj_desc, walk_state, TRUE); | 171 | (void)acpi_ds_do_implicit_return(local_obj_desc, walk_state, TRUE); |
172 | 172 | ||
173 | cleanup: | 173 | cleanup: |
174 | 174 | ||
175 | ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "Completed a predicate eval=%X Op=%p\n", | 175 | ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "Completed a predicate eval=%X Op=%p\n", |
176 | walk_state->control_state->common.value, | 176 | walk_state->control_state->common.value, |
@@ -335,7 +335,7 @@ acpi_ds_exec_begin_op(struct acpi_walk_state *walk_state, | |||
335 | 335 | ||
336 | return_ACPI_STATUS(status); | 336 | return_ACPI_STATUS(status); |
337 | 337 | ||
338 | error_exit: | 338 | error_exit: |
339 | status = acpi_ds_method_error(status, walk_state); | 339 | status = acpi_ds_method_error(status, walk_state); |
340 | return_ACPI_STATUS(status); | 340 | return_ACPI_STATUS(status); |
341 | } | 341 | } |
@@ -722,7 +722,7 @@ acpi_status acpi_ds_exec_end_op(struct acpi_walk_state *walk_state) | |||
722 | walk_state->result_obj = NULL; | 722 | walk_state->result_obj = NULL; |
723 | } | 723 | } |
724 | 724 | ||
725 | cleanup: | 725 | cleanup: |
726 | 726 | ||
727 | if (walk_state->result_obj) { | 727 | if (walk_state->result_obj) { |
728 | 728 | ||
diff --git a/drivers/acpi/acpica/dswload2.c b/drivers/acpi/acpica/dswload2.c index b1f8f4725c23..7f569d573027 100644 --- a/drivers/acpi/acpica/dswload2.c +++ b/drivers/acpi/acpica/dswload2.c | |||
@@ -728,7 +728,7 @@ acpi_status acpi_ds_load2_end_op(struct acpi_walk_state *walk_state) | |||
728 | break; | 728 | break; |
729 | } | 729 | } |
730 | 730 | ||
731 | cleanup: | 731 | cleanup: |
732 | 732 | ||
733 | /* Remove the Node pushed at the very beginning */ | 733 | /* Remove the Node pushed at the very beginning */ |
734 | 734 | ||
diff --git a/drivers/acpi/acpica/evglock.c b/drivers/acpi/acpica/evglock.c index fdb0a76e40a3..4c67193a9fa7 100644 --- a/drivers/acpi/acpica/evglock.c +++ b/drivers/acpi/acpica/evglock.c | |||
@@ -173,7 +173,7 @@ static u32 acpi_ev_global_lock_handler(void *context) | |||
173 | 173 | ||
174 | acpi_gbl_global_lock_pending = FALSE; | 174 | acpi_gbl_global_lock_pending = FALSE; |
175 | 175 | ||
176 | cleanup_and_exit: | 176 | cleanup_and_exit: |
177 | 177 | ||
178 | acpi_os_release_lock(acpi_gbl_global_lock_pending_lock, flags); | 178 | acpi_os_release_lock(acpi_gbl_global_lock_pending_lock, flags); |
179 | return (ACPI_INTERRUPT_HANDLED); | 179 | return (ACPI_INTERRUPT_HANDLED); |
diff --git a/drivers/acpi/acpica/evgpe.c b/drivers/acpi/acpica/evgpe.c index 1979a256be3b..a9cb4a1a4bb8 100644 --- a/drivers/acpi/acpica/evgpe.c +++ b/drivers/acpi/acpica/evgpe.c | |||
@@ -458,7 +458,7 @@ u32 acpi_ev_gpe_detect(struct acpi_gpe_xrupt_info * gpe_xrupt_list) | |||
458 | gpe_block = gpe_block->next; | 458 | gpe_block = gpe_block->next; |
459 | } | 459 | } |
460 | 460 | ||
461 | unlock_and_exit: | 461 | unlock_and_exit: |
462 | 462 | ||
463 | acpi_os_release_lock(acpi_gbl_gpe_lock, flags); | 463 | acpi_os_release_lock(acpi_gbl_gpe_lock, flags); |
464 | return (int_status); | 464 | return (int_status); |
diff --git a/drivers/acpi/acpica/evgpeblk.c b/drivers/acpi/acpica/evgpeblk.c index c1aa1eda26c3..a9e76bc4ad97 100644 --- a/drivers/acpi/acpica/evgpeblk.c +++ b/drivers/acpi/acpica/evgpeblk.c | |||
@@ -111,7 +111,7 @@ acpi_ev_install_gpe_block(struct acpi_gpe_block_info *gpe_block, | |||
111 | gpe_block->xrupt_block = gpe_xrupt_block; | 111 | gpe_block->xrupt_block = gpe_xrupt_block; |
112 | acpi_os_release_lock(acpi_gbl_gpe_lock, flags); | 112 | acpi_os_release_lock(acpi_gbl_gpe_lock, flags); |
113 | 113 | ||
114 | unlock_and_exit: | 114 | unlock_and_exit: |
115 | status = acpi_ut_release_mutex(ACPI_MTX_EVENTS); | 115 | status = acpi_ut_release_mutex(ACPI_MTX_EVENTS); |
116 | return_ACPI_STATUS(status); | 116 | return_ACPI_STATUS(status); |
117 | } | 117 | } |
@@ -178,7 +178,7 @@ acpi_status acpi_ev_delete_gpe_block(struct acpi_gpe_block_info *gpe_block) | |||
178 | ACPI_FREE(gpe_block->event_info); | 178 | ACPI_FREE(gpe_block->event_info); |
179 | ACPI_FREE(gpe_block); | 179 | ACPI_FREE(gpe_block); |
180 | 180 | ||
181 | unlock_and_exit: | 181 | unlock_and_exit: |
182 | status = acpi_ut_release_mutex(ACPI_MTX_EVENTS); | 182 | status = acpi_ut_release_mutex(ACPI_MTX_EVENTS); |
183 | return_ACPI_STATUS(status); | 183 | return_ACPI_STATUS(status); |
184 | } | 184 | } |
@@ -302,7 +302,7 @@ acpi_ev_create_gpe_info_blocks(struct acpi_gpe_block_info *gpe_block) | |||
302 | 302 | ||
303 | return_ACPI_STATUS(AE_OK); | 303 | return_ACPI_STATUS(AE_OK); |
304 | 304 | ||
305 | error_exit: | 305 | error_exit: |
306 | if (gpe_register_info) { | 306 | if (gpe_register_info) { |
307 | ACPI_FREE(gpe_register_info); | 307 | ACPI_FREE(gpe_register_info); |
308 | } | 308 | } |
diff --git a/drivers/acpi/acpica/evgpeinit.c b/drivers/acpi/acpica/evgpeinit.c index 7842700346a4..a3e2f38aadf6 100644 --- a/drivers/acpi/acpica/evgpeinit.c +++ b/drivers/acpi/acpica/evgpeinit.c | |||
@@ -203,7 +203,7 @@ acpi_status acpi_ev_gpe_initialize(void) | |||
203 | goto cleanup; | 203 | goto cleanup; |
204 | } | 204 | } |
205 | 205 | ||
206 | cleanup: | 206 | cleanup: |
207 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 207 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
208 | return_ACPI_STATUS(AE_OK); | 208 | return_ACPI_STATUS(AE_OK); |
209 | } | 209 | } |
diff --git a/drivers/acpi/acpica/evgpeutil.c b/drivers/acpi/acpica/evgpeutil.c index d52339090b60..d3f5e1e2a2b1 100644 --- a/drivers/acpi/acpica/evgpeutil.c +++ b/drivers/acpi/acpica/evgpeutil.c | |||
@@ -101,7 +101,7 @@ acpi_ev_walk_gpe_list(acpi_gpe_callback gpe_walk_callback, void *context) | |||
101 | gpe_xrupt_info = gpe_xrupt_info->next; | 101 | gpe_xrupt_info = gpe_xrupt_info->next; |
102 | } | 102 | } |
103 | 103 | ||
104 | unlock_and_exit: | 104 | unlock_and_exit: |
105 | acpi_os_release_lock(acpi_gbl_gpe_lock, flags); | 105 | acpi_os_release_lock(acpi_gbl_gpe_lock, flags); |
106 | return_ACPI_STATUS(status); | 106 | return_ACPI_STATUS(status); |
107 | } | 107 | } |
diff --git a/drivers/acpi/acpica/evhandler.c b/drivers/acpi/acpica/evhandler.c index 068af96134b8..e3157313eb27 100644 --- a/drivers/acpi/acpica/evhandler.c +++ b/drivers/acpi/acpica/evhandler.c | |||
@@ -129,7 +129,7 @@ acpi_status acpi_ev_install_region_handlers(void) | |||
129 | } | 129 | } |
130 | } | 130 | } |
131 | 131 | ||
132 | unlock_and_exit: | 132 | unlock_and_exit: |
133 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 133 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
134 | return_ACPI_STATUS(status); | 134 | return_ACPI_STATUS(status); |
135 | } | 135 | } |
@@ -531,6 +531,6 @@ acpi_ev_install_space_handler(struct acpi_namespace_node * node, | |||
531 | acpi_ev_install_handler, NULL, | 531 | acpi_ev_install_handler, NULL, |
532 | handler_obj, NULL); | 532 | handler_obj, NULL); |
533 | 533 | ||
534 | unlock_and_exit: | 534 | unlock_and_exit: |
535 | return_ACPI_STATUS(status); | 535 | return_ACPI_STATUS(status); |
536 | } | 536 | } |
diff --git a/drivers/acpi/acpica/evregion.c b/drivers/acpi/acpica/evregion.c index 6293d6bb6fe1..144cbb9b73bc 100644 --- a/drivers/acpi/acpica/evregion.c +++ b/drivers/acpi/acpica/evregion.c | |||
@@ -573,10 +573,10 @@ acpi_ev_execute_reg_method(union acpi_operand_object *region_obj, u32 function) | |||
573 | status = acpi_ns_evaluate(info); | 573 | status = acpi_ns_evaluate(info); |
574 | acpi_ut_remove_reference(args[1]); | 574 | acpi_ut_remove_reference(args[1]); |
575 | 575 | ||
576 | cleanup2: | 576 | cleanup2: |
577 | acpi_ut_remove_reference(args[0]); | 577 | acpi_ut_remove_reference(args[0]); |
578 | 578 | ||
579 | cleanup1: | 579 | cleanup1: |
580 | ACPI_FREE(info); | 580 | ACPI_FREE(info); |
581 | return_ACPI_STATUS(status); | 581 | return_ACPI_STATUS(status); |
582 | } | 582 | } |
@@ -761,7 +761,7 @@ acpi_ev_orphan_ec_reg_method(struct acpi_namespace_node *ec_device_node) | |||
761 | 761 | ||
762 | status = acpi_evaluate_object(reg_method, NULL, &args, NULL); | 762 | status = acpi_evaluate_object(reg_method, NULL, &args, NULL); |
763 | 763 | ||
764 | exit: | 764 | exit: |
765 | /* We ignore all errors from above, don't care */ | 765 | /* We ignore all errors from above, don't care */ |
766 | 766 | ||
767 | status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE); | 767 | status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE); |
diff --git a/drivers/acpi/acpica/evxface.c b/drivers/acpi/acpica/evxface.c index 6d88b1368088..23a7fadca412 100644 --- a/drivers/acpi/acpica/evxface.c +++ b/drivers/acpi/acpica/evxface.c | |||
@@ -375,7 +375,7 @@ acpi_status acpi_install_exception_handler(acpi_exception_handler handler) | |||
375 | 375 | ||
376 | acpi_gbl_exception_handler = handler; | 376 | acpi_gbl_exception_handler = handler; |
377 | 377 | ||
378 | cleanup: | 378 | cleanup: |
379 | (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS); | 379 | (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS); |
380 | return_ACPI_STATUS(status); | 380 | return_ACPI_STATUS(status); |
381 | } | 381 | } |
@@ -445,12 +445,12 @@ acpi_status acpi_install_sci_handler(acpi_sci_handler address, void *context) | |||
445 | new_sci_handler->next = acpi_gbl_sci_handler_list; | 445 | new_sci_handler->next = acpi_gbl_sci_handler_list; |
446 | acpi_gbl_sci_handler_list = new_sci_handler; | 446 | acpi_gbl_sci_handler_list = new_sci_handler; |
447 | 447 | ||
448 | unlock_and_exit: | 448 | unlock_and_exit: |
449 | 449 | ||
450 | acpi_os_release_lock(acpi_gbl_gpe_lock, flags); | 450 | acpi_os_release_lock(acpi_gbl_gpe_lock, flags); |
451 | (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS); | 451 | (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS); |
452 | 452 | ||
453 | exit: | 453 | exit: |
454 | if (ACPI_FAILURE(status)) { | 454 | if (ACPI_FAILURE(status)) { |
455 | ACPI_FREE(new_sci_handler); | 455 | ACPI_FREE(new_sci_handler); |
456 | } | 456 | } |
@@ -517,7 +517,7 @@ acpi_status acpi_remove_sci_handler(acpi_sci_handler address) | |||
517 | acpi_os_release_lock(acpi_gbl_gpe_lock, flags); | 517 | acpi_os_release_lock(acpi_gbl_gpe_lock, flags); |
518 | status = AE_NOT_EXIST; | 518 | status = AE_NOT_EXIST; |
519 | 519 | ||
520 | unlock_and_exit: | 520 | unlock_and_exit: |
521 | (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS); | 521 | (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS); |
522 | return_ACPI_STATUS(status); | 522 | return_ACPI_STATUS(status); |
523 | } | 523 | } |
@@ -566,7 +566,7 @@ acpi_install_global_event_handler(acpi_gbl_event_handler handler, void *context) | |||
566 | acpi_gbl_global_event_handler = handler; | 566 | acpi_gbl_global_event_handler = handler; |
567 | acpi_gbl_global_event_handler_context = context; | 567 | acpi_gbl_global_event_handler_context = context; |
568 | 568 | ||
569 | cleanup: | 569 | cleanup: |
570 | (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS); | 570 | (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS); |
571 | return_ACPI_STATUS(status); | 571 | return_ACPI_STATUS(status); |
572 | } | 572 | } |
@@ -638,7 +638,7 @@ acpi_install_fixed_event_handler(u32 event, | |||
638 | handler)); | 638 | handler)); |
639 | } | 639 | } |
640 | 640 | ||
641 | cleanup: | 641 | cleanup: |
642 | (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS); | 642 | (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS); |
643 | return_ACPI_STATUS(status); | 643 | return_ACPI_STATUS(status); |
644 | } | 644 | } |
diff --git a/drivers/acpi/acpica/evxfgpe.c b/drivers/acpi/acpica/evxfgpe.c index fab40d9b3bd6..5713da77c665 100644 --- a/drivers/acpi/acpica/evxfgpe.c +++ b/drivers/acpi/acpica/evxfgpe.c | |||
@@ -472,7 +472,7 @@ acpi_get_gpe_status(acpi_handle gpe_device, | |||
472 | if (gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK) | 472 | if (gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK) |
473 | *event_status |= ACPI_EVENT_FLAG_HANDLE; | 473 | *event_status |= ACPI_EVENT_FLAG_HANDLE; |
474 | 474 | ||
475 | unlock_and_exit: | 475 | unlock_and_exit: |
476 | acpi_os_release_lock(acpi_gbl_gpe_lock, flags); | 476 | acpi_os_release_lock(acpi_gbl_gpe_lock, flags); |
477 | return_ACPI_STATUS(status); | 477 | return_ACPI_STATUS(status); |
478 | } | 478 | } |
@@ -625,7 +625,7 @@ acpi_install_gpe_block(acpi_handle gpe_device, | |||
625 | 625 | ||
626 | obj_desc->device.gpe_block = gpe_block; | 626 | obj_desc->device.gpe_block = gpe_block; |
627 | 627 | ||
628 | unlock_and_exit: | 628 | unlock_and_exit: |
629 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 629 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
630 | return_ACPI_STATUS(status); | 630 | return_ACPI_STATUS(status); |
631 | } | 631 | } |
@@ -680,7 +680,7 @@ acpi_status acpi_remove_gpe_block(acpi_handle gpe_device) | |||
680 | obj_desc->device.gpe_block = NULL; | 680 | obj_desc->device.gpe_block = NULL; |
681 | } | 681 | } |
682 | 682 | ||
683 | unlock_and_exit: | 683 | unlock_and_exit: |
684 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 684 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
685 | return_ACPI_STATUS(status); | 685 | return_ACPI_STATUS(status); |
686 | } | 686 | } |
diff --git a/drivers/acpi/acpica/evxfregn.c b/drivers/acpi/acpica/evxfregn.c index 1bd3225be468..02ed75ac56cd 100644 --- a/drivers/acpi/acpica/evxfregn.c +++ b/drivers/acpi/acpica/evxfregn.c | |||
@@ -148,7 +148,7 @@ acpi_install_address_space_handler(acpi_handle device, | |||
148 | 148 | ||
149 | status = acpi_ev_execute_reg_methods(node, space_id); | 149 | status = acpi_ev_execute_reg_methods(node, space_id); |
150 | 150 | ||
151 | unlock_and_exit: | 151 | unlock_and_exit: |
152 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 152 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
153 | return_ACPI_STATUS(status); | 153 | return_ACPI_STATUS(status); |
154 | } | 154 | } |
@@ -287,7 +287,7 @@ acpi_remove_address_space_handler(acpi_handle device, | |||
287 | 287 | ||
288 | status = AE_NOT_EXIST; | 288 | status = AE_NOT_EXIST; |
289 | 289 | ||
290 | unlock_and_exit: | 290 | unlock_and_exit: |
291 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 291 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
292 | return_ACPI_STATUS(status); | 292 | return_ACPI_STATUS(status); |
293 | } | 293 | } |
diff --git a/drivers/acpi/acpica/excreate.c b/drivers/acpi/acpica/excreate.c index 269e81d86ef4..3c2e6dcdad3e 100644 --- a/drivers/acpi/acpica/excreate.c +++ b/drivers/acpi/acpica/excreate.c | |||
@@ -193,7 +193,7 @@ acpi_status acpi_ex_create_event(struct acpi_walk_state *walk_state) | |||
193 | acpi_ns_attach_object((struct acpi_namespace_node *)walk_state-> | 193 | acpi_ns_attach_object((struct acpi_namespace_node *)walk_state-> |
194 | operands[0], obj_desc, ACPI_TYPE_EVENT); | 194 | operands[0], obj_desc, ACPI_TYPE_EVENT); |
195 | 195 | ||
196 | cleanup: | 196 | cleanup: |
197 | /* | 197 | /* |
198 | * Remove local reference to the object (on error, will cause deletion | 198 | * Remove local reference to the object (on error, will cause deletion |
199 | * of both object and semaphore if present.) | 199 | * of both object and semaphore if present.) |
@@ -248,7 +248,7 @@ acpi_status acpi_ex_create_mutex(struct acpi_walk_state *walk_state) | |||
248 | acpi_ns_attach_object(obj_desc->mutex.node, obj_desc, | 248 | acpi_ns_attach_object(obj_desc->mutex.node, obj_desc, |
249 | ACPI_TYPE_MUTEX); | 249 | ACPI_TYPE_MUTEX); |
250 | 250 | ||
251 | cleanup: | 251 | cleanup: |
252 | /* | 252 | /* |
253 | * Remove local reference to the object (on error, will cause deletion | 253 | * Remove local reference to the object (on error, will cause deletion |
254 | * of both object and semaphore if present.) | 254 | * of both object and semaphore if present.) |
@@ -347,7 +347,7 @@ acpi_ex_create_region(u8 * aml_start, | |||
347 | 347 | ||
348 | status = acpi_ns_attach_object(node, obj_desc, ACPI_TYPE_REGION); | 348 | status = acpi_ns_attach_object(node, obj_desc, ACPI_TYPE_REGION); |
349 | 349 | ||
350 | cleanup: | 350 | cleanup: |
351 | 351 | ||
352 | /* Remove local reference to the object */ | 352 | /* Remove local reference to the object */ |
353 | 353 | ||
@@ -520,7 +520,7 @@ acpi_ex_create_method(u8 * aml_start, | |||
520 | 520 | ||
521 | acpi_ut_remove_reference(obj_desc); | 521 | acpi_ut_remove_reference(obj_desc); |
522 | 522 | ||
523 | exit: | 523 | exit: |
524 | /* Remove a reference to the operand */ | 524 | /* Remove a reference to the operand */ |
525 | 525 | ||
526 | acpi_ut_remove_reference(operand[1]); | 526 | acpi_ut_remove_reference(operand[1]); |
diff --git a/drivers/acpi/acpica/exfield.c b/drivers/acpi/acpica/exfield.c index c2a65aaf29af..cfd875243421 100644 --- a/drivers/acpi/acpica/exfield.c +++ b/drivers/acpi/acpica/exfield.c | |||
@@ -197,7 +197,7 @@ acpi_ex_read_data_from_field(struct acpi_walk_state *walk_state, | |||
197 | status = acpi_ex_extract_from_field(obj_desc, buffer, (u32) length); | 197 | status = acpi_ex_extract_from_field(obj_desc, buffer, (u32) length); |
198 | acpi_ex_release_global_lock(obj_desc->common_field.field_flags); | 198 | acpi_ex_release_global_lock(obj_desc->common_field.field_flags); |
199 | 199 | ||
200 | exit: | 200 | exit: |
201 | if (ACPI_FAILURE(status)) { | 201 | if (ACPI_FAILURE(status)) { |
202 | acpi_ut_remove_reference(buffer_desc); | 202 | acpi_ut_remove_reference(buffer_desc); |
203 | } else { | 203 | } else { |
diff --git a/drivers/acpi/acpica/exfldio.c b/drivers/acpi/acpica/exfldio.c index 7e0afe72487e..8ab01b613a18 100644 --- a/drivers/acpi/acpica/exfldio.c +++ b/drivers/acpi/acpica/exfldio.c | |||
@@ -1002,7 +1002,7 @@ acpi_ex_insert_into_field(union acpi_operand_object *obj_desc, | |||
1002 | mask, merged_datum, | 1002 | mask, merged_datum, |
1003 | field_offset); | 1003 | field_offset); |
1004 | 1004 | ||
1005 | exit: | 1005 | exit: |
1006 | /* Free temporary buffer if we used one */ | 1006 | /* Free temporary buffer if we used one */ |
1007 | 1007 | ||
1008 | if (new_buffer) { | 1008 | if (new_buffer) { |
diff --git a/drivers/acpi/acpica/exmisc.c b/drivers/acpi/acpica/exmisc.c index 00bf29877574..65d93607f368 100644 --- a/drivers/acpi/acpica/exmisc.c +++ b/drivers/acpi/acpica/exmisc.c | |||
@@ -388,7 +388,7 @@ acpi_ex_do_concatenate(union acpi_operand_object *operand0, | |||
388 | 388 | ||
389 | *actual_return_desc = return_desc; | 389 | *actual_return_desc = return_desc; |
390 | 390 | ||
391 | cleanup: | 391 | cleanup: |
392 | if (local_operand1 != operand1) { | 392 | if (local_operand1 != operand1) { |
393 | acpi_ut_remove_reference(local_operand1); | 393 | acpi_ut_remove_reference(local_operand1); |
394 | } | 394 | } |
@@ -718,7 +718,7 @@ acpi_ex_do_logical_op(u16 opcode, | |||
718 | } | 718 | } |
719 | } | 719 | } |
720 | 720 | ||
721 | cleanup: | 721 | cleanup: |
722 | 722 | ||
723 | /* New object was created if implicit conversion performed - delete */ | 723 | /* New object was created if implicit conversion performed - delete */ |
724 | 724 | ||
diff --git a/drivers/acpi/acpica/exoparg1.c b/drivers/acpi/acpica/exoparg1.c index 2cdd41d8ade6..d74cea416ca0 100644 --- a/drivers/acpi/acpica/exoparg1.c +++ b/drivers/acpi/acpica/exoparg1.c | |||
@@ -115,7 +115,7 @@ acpi_status acpi_ex_opcode_0A_0T_1R(struct acpi_walk_state *walk_state) | |||
115 | break; | 115 | break; |
116 | } | 116 | } |
117 | 117 | ||
118 | cleanup: | 118 | cleanup: |
119 | 119 | ||
120 | /* Delete return object on error */ | 120 | /* Delete return object on error */ |
121 | 121 | ||
@@ -234,7 +234,7 @@ acpi_status acpi_ex_opcode_1A_1T_0R(struct acpi_walk_state *walk_state) | |||
234 | goto cleanup; | 234 | goto cleanup; |
235 | } | 235 | } |
236 | 236 | ||
237 | cleanup: | 237 | cleanup: |
238 | 238 | ||
239 | return_ACPI_STATUS(status); | 239 | return_ACPI_STATUS(status); |
240 | } | 240 | } |
@@ -551,7 +551,7 @@ acpi_status acpi_ex_opcode_1A_1T_1R(struct acpi_walk_state *walk_state) | |||
551 | status = acpi_ex_store(return_desc, operand[1], walk_state); | 551 | status = acpi_ex_store(return_desc, operand[1], walk_state); |
552 | } | 552 | } |
553 | 553 | ||
554 | cleanup: | 554 | cleanup: |
555 | 555 | ||
556 | /* Delete return object on error */ | 556 | /* Delete return object on error */ |
557 | 557 | ||
@@ -1054,7 +1054,7 @@ acpi_status acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state) | |||
1054 | goto cleanup; | 1054 | goto cleanup; |
1055 | } | 1055 | } |
1056 | 1056 | ||
1057 | cleanup: | 1057 | cleanup: |
1058 | 1058 | ||
1059 | /* Delete return object on error */ | 1059 | /* Delete return object on error */ |
1060 | 1060 | ||
diff --git a/drivers/acpi/acpica/exoparg2.c b/drivers/acpi/acpica/exoparg2.c index d5088f7030c7..d6fa0fce1fc9 100644 --- a/drivers/acpi/acpica/exoparg2.c +++ b/drivers/acpi/acpica/exoparg2.c | |||
@@ -215,7 +215,7 @@ acpi_status acpi_ex_opcode_2A_2T_1R(struct acpi_walk_state *walk_state) | |||
215 | goto cleanup; | 215 | goto cleanup; |
216 | } | 216 | } |
217 | 217 | ||
218 | cleanup: | 218 | cleanup: |
219 | /* | 219 | /* |
220 | * Since the remainder is not returned indirectly, remove a reference to | 220 | * Since the remainder is not returned indirectly, remove a reference to |
221 | * it. Only the quotient is returned indirectly. | 221 | * it. Only the quotient is returned indirectly. |
@@ -445,7 +445,7 @@ acpi_status acpi_ex_opcode_2A_1T_1R(struct acpi_walk_state *walk_state) | |||
445 | break; | 445 | break; |
446 | } | 446 | } |
447 | 447 | ||
448 | store_result_to_target: | 448 | store_result_to_target: |
449 | 449 | ||
450 | if (ACPI_SUCCESS(status)) { | 450 | if (ACPI_SUCCESS(status)) { |
451 | /* | 451 | /* |
@@ -462,7 +462,7 @@ acpi_status acpi_ex_opcode_2A_1T_1R(struct acpi_walk_state *walk_state) | |||
462 | } | 462 | } |
463 | } | 463 | } |
464 | 464 | ||
465 | cleanup: | 465 | cleanup: |
466 | 466 | ||
467 | /* Delete return object on error */ | 467 | /* Delete return object on error */ |
468 | 468 | ||
@@ -553,7 +553,7 @@ acpi_status acpi_ex_opcode_2A_0T_1R(struct acpi_walk_state *walk_state) | |||
553 | goto cleanup; | 553 | goto cleanup; |
554 | } | 554 | } |
555 | 555 | ||
556 | store_logical_result: | 556 | store_logical_result: |
557 | /* | 557 | /* |
558 | * Set return value to according to logical_result. logical TRUE (all ones) | 558 | * Set return value to according to logical_result. logical TRUE (all ones) |
559 | * Default is FALSE (zero) | 559 | * Default is FALSE (zero) |
@@ -562,7 +562,7 @@ acpi_status acpi_ex_opcode_2A_0T_1R(struct acpi_walk_state *walk_state) | |||
562 | return_desc->integer.value = ACPI_UINT64_MAX; | 562 | return_desc->integer.value = ACPI_UINT64_MAX; |
563 | } | 563 | } |
564 | 564 | ||
565 | cleanup: | 565 | cleanup: |
566 | 566 | ||
567 | /* Delete return object on error */ | 567 | /* Delete return object on error */ |
568 | 568 | ||
diff --git a/drivers/acpi/acpica/exoparg3.c b/drivers/acpi/acpica/exoparg3.c index 37656f12f204..bc042adf8804 100644 --- a/drivers/acpi/acpica/exoparg3.c +++ b/drivers/acpi/acpica/exoparg3.c | |||
@@ -124,7 +124,7 @@ acpi_status acpi_ex_opcode_3A_0T_0R(struct acpi_walk_state *walk_state) | |||
124 | goto cleanup; | 124 | goto cleanup; |
125 | } | 125 | } |
126 | 126 | ||
127 | cleanup: | 127 | cleanup: |
128 | 128 | ||
129 | return_ACPI_STATUS(status); | 129 | return_ACPI_STATUS(status); |
130 | } | 130 | } |
@@ -252,7 +252,7 @@ acpi_status acpi_ex_opcode_3A_1T_1R(struct acpi_walk_state *walk_state) | |||
252 | 252 | ||
253 | status = acpi_ex_store(return_desc, operand[3], walk_state); | 253 | status = acpi_ex_store(return_desc, operand[3], walk_state); |
254 | 254 | ||
255 | cleanup: | 255 | cleanup: |
256 | 256 | ||
257 | /* Delete return object on error */ | 257 | /* Delete return object on error */ |
258 | 258 | ||
diff --git a/drivers/acpi/acpica/exoparg6.c b/drivers/acpi/acpica/exoparg6.c index 879b6cd8319c..4459e32c683d 100644 --- a/drivers/acpi/acpica/exoparg6.c +++ b/drivers/acpi/acpica/exoparg6.c | |||
@@ -314,7 +314,7 @@ acpi_status acpi_ex_opcode_6A_0T_1R(struct acpi_walk_state * walk_state) | |||
314 | goto cleanup; | 314 | goto cleanup; |
315 | } | 315 | } |
316 | 316 | ||
317 | cleanup: | 317 | cleanup: |
318 | 318 | ||
319 | /* Delete return object on error */ | 319 | /* Delete return object on error */ |
320 | 320 | ||
diff --git a/drivers/acpi/acpica/exresolv.c b/drivers/acpi/acpica/exresolv.c index ac04278ad28f..1606524312e3 100644 --- a/drivers/acpi/acpica/exresolv.c +++ b/drivers/acpi/acpica/exresolv.c | |||
@@ -521,7 +521,7 @@ acpi_ex_resolve_multiple(struct acpi_walk_state *walk_state, | |||
521 | */ | 521 | */ |
522 | type = obj_desc->common.type; | 522 | type = obj_desc->common.type; |
523 | 523 | ||
524 | exit: | 524 | exit: |
525 | /* Convert internal types to external types */ | 525 | /* Convert internal types to external types */ |
526 | 526 | ||
527 | switch (type) { | 527 | switch (type) { |
diff --git a/drivers/acpi/acpica/exresop.c b/drivers/acpi/acpica/exresop.c index 00e5af7129c1..be3f66973ee8 100644 --- a/drivers/acpi/acpica/exresop.c +++ b/drivers/acpi/acpica/exresop.c | |||
@@ -683,7 +683,7 @@ acpi_ex_resolve_operands(u16 opcode, | |||
683 | return_ACPI_STATUS(status); | 683 | return_ACPI_STATUS(status); |
684 | } | 684 | } |
685 | 685 | ||
686 | next_operand: | 686 | next_operand: |
687 | /* | 687 | /* |
688 | * If more operands needed, decrement stack_ptr to point | 688 | * If more operands needed, decrement stack_ptr to point |
689 | * to next operand on stack | 689 | * to next operand on stack |
diff --git a/drivers/acpi/acpica/hwregs.c b/drivers/acpi/acpica/hwregs.c index 8d2e866be15f..12e6cff54f78 100644 --- a/drivers/acpi/acpica/hwregs.c +++ b/drivers/acpi/acpica/hwregs.c | |||
@@ -560,7 +560,7 @@ acpi_status acpi_hw_register_write(u32 register_id, u32 value) | |||
560 | break; | 560 | break; |
561 | } | 561 | } |
562 | 562 | ||
563 | exit: | 563 | exit: |
564 | return_ACPI_STATUS(status); | 564 | return_ACPI_STATUS(status); |
565 | } | 565 | } |
566 | 566 | ||
diff --git a/drivers/acpi/acpica/hwxface.c b/drivers/acpi/acpica/hwxface.c index b1568481463a..b4b47db2dee2 100644 --- a/drivers/acpi/acpica/hwxface.c +++ b/drivers/acpi/acpica/hwxface.c | |||
@@ -570,10 +570,10 @@ acpi_get_sleep_type_data(u8 sleep_state, u8 *sleep_type_a, u8 *sleep_type_b) | |||
570 | break; | 570 | break; |
571 | } | 571 | } |
572 | 572 | ||
573 | cleanup1: | 573 | cleanup1: |
574 | acpi_ut_remove_reference(info->return_object); | 574 | acpi_ut_remove_reference(info->return_object); |
575 | 575 | ||
576 | cleanup: | 576 | cleanup: |
577 | if (ACPI_FAILURE(status)) { | 577 | if (ACPI_FAILURE(status)) { |
578 | ACPI_EXCEPTION((AE_INFO, status, | 578 | ACPI_EXCEPTION((AE_INFO, status, |
579 | "While evaluating Sleep State [%s]", | 579 | "While evaluating Sleep State [%s]", |
diff --git a/drivers/acpi/acpica/nsaccess.c b/drivers/acpi/acpica/nsaccess.c index aff79c7392ff..14f65f6345b9 100644 --- a/drivers/acpi/acpica/nsaccess.c +++ b/drivers/acpi/acpica/nsaccess.c | |||
@@ -240,7 +240,7 @@ acpi_status acpi_ns_root_initialize(void) | |||
240 | } | 240 | } |
241 | } | 241 | } |
242 | 242 | ||
243 | unlock_and_exit: | 243 | unlock_and_exit: |
244 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 244 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
245 | 245 | ||
246 | /* Save a handle to "_GPE", it is always present */ | 246 | /* Save a handle to "_GPE", it is always present */ |
diff --git a/drivers/acpi/acpica/nsdump.c b/drivers/acpi/acpica/nsdump.c index c6348545277e..48b9c6f12643 100644 --- a/drivers/acpi/acpica/nsdump.c +++ b/drivers/acpi/acpica/nsdump.c | |||
@@ -620,7 +620,7 @@ acpi_ns_dump_one_object(acpi_handle obj_handle, | |||
620 | obj_type = ACPI_TYPE_INVALID; /* Terminate loop after next pass */ | 620 | obj_type = ACPI_TYPE_INVALID; /* Terminate loop after next pass */ |
621 | } | 621 | } |
622 | 622 | ||
623 | cleanup: | 623 | cleanup: |
624 | acpi_os_printf("\n"); | 624 | acpi_os_printf("\n"); |
625 | return (AE_OK); | 625 | return (AE_OK); |
626 | } | 626 | } |
diff --git a/drivers/acpi/acpica/nseval.c b/drivers/acpi/acpica/nseval.c index 18108bc2e51c..963ceef063f8 100644 --- a/drivers/acpi/acpica/nseval.c +++ b/drivers/acpi/acpica/nseval.c | |||
@@ -314,7 +314,7 @@ acpi_status acpi_ns_evaluate(struct acpi_evaluate_info *info) | |||
314 | "*** Completed evaluation of object %s ***\n", | 314 | "*** Completed evaluation of object %s ***\n", |
315 | info->relative_pathname)); | 315 | info->relative_pathname)); |
316 | 316 | ||
317 | cleanup: | 317 | cleanup: |
318 | /* | 318 | /* |
319 | * Namespace was unlocked by the handling acpi_ns* function, so we | 319 | * Namespace was unlocked by the handling acpi_ns* function, so we |
320 | * just free the pathname and return | 320 | * just free the pathname and return |
@@ -486,7 +486,7 @@ acpi_ns_exec_module_code(union acpi_operand_object *method_obj, | |||
486 | parent_node->type = (u8)type; | 486 | parent_node->type = (u8)type; |
487 | } | 487 | } |
488 | 488 | ||
489 | exit: | 489 | exit: |
490 | if (parent_obj) { | 490 | if (parent_obj) { |
491 | acpi_ut_remove_reference(parent_obj); | 491 | acpi_ut_remove_reference(parent_obj); |
492 | } | 492 | } |
diff --git a/drivers/acpi/acpica/nsinit.c b/drivers/acpi/acpica/nsinit.c index dd2ceae3f717..3a0423af968c 100644 --- a/drivers/acpi/acpica/nsinit.c +++ b/drivers/acpi/acpica/nsinit.c | |||
@@ -213,7 +213,7 @@ acpi_status acpi_ns_initialize_devices(void) | |||
213 | 213 | ||
214 | return_ACPI_STATUS(status); | 214 | return_ACPI_STATUS(status); |
215 | 215 | ||
216 | error_exit: | 216 | error_exit: |
217 | ACPI_EXCEPTION((AE_INFO, status, "During device initialization")); | 217 | ACPI_EXCEPTION((AE_INFO, status, "During device initialization")); |
218 | return_ACPI_STATUS(status); | 218 | return_ACPI_STATUS(status); |
219 | } | 219 | } |
diff --git a/drivers/acpi/acpica/nsload.c b/drivers/acpi/acpica/nsload.c index 0a7badc3179f..89ec645e7730 100644 --- a/drivers/acpi/acpica/nsload.c +++ b/drivers/acpi/acpica/nsload.c | |||
@@ -114,7 +114,7 @@ acpi_ns_load_table(u32 table_index, struct acpi_namespace_node *node) | |||
114 | (void)acpi_tb_release_owner_id(table_index); | 114 | (void)acpi_tb_release_owner_id(table_index); |
115 | } | 115 | } |
116 | 116 | ||
117 | unlock: | 117 | unlock: |
118 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 118 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
119 | 119 | ||
120 | if (ACPI_FAILURE(status)) { | 120 | if (ACPI_FAILURE(status)) { |
diff --git a/drivers/acpi/acpica/nsparse.c b/drivers/acpi/acpica/nsparse.c index 35dde8151c0d..177857340271 100644 --- a/drivers/acpi/acpica/nsparse.c +++ b/drivers/acpi/acpica/nsparse.c | |||
@@ -140,7 +140,7 @@ acpi_ns_one_complete_parse(u32 pass_number, | |||
140 | pass_number)); | 140 | pass_number)); |
141 | status = acpi_ps_parse_aml(walk_state); | 141 | status = acpi_ps_parse_aml(walk_state); |
142 | 142 | ||
143 | cleanup: | 143 | cleanup: |
144 | acpi_ps_delete_parse_tree(parse_root); | 144 | acpi_ps_delete_parse_tree(parse_root); |
145 | return_ACPI_STATUS(status); | 145 | return_ACPI_STATUS(status); |
146 | } | 146 | } |
diff --git a/drivers/acpi/acpica/nspredef.c b/drivers/acpi/acpica/nspredef.c index 098e7666cbc9..d2855d9857c4 100644 --- a/drivers/acpi/acpica/nspredef.c +++ b/drivers/acpi/acpica/nspredef.c | |||
@@ -271,7 +271,7 @@ acpi_ns_check_object_type(struct acpi_evaluate_info *info, | |||
271 | return (AE_OK); /* Successful repair */ | 271 | return (AE_OK); /* Successful repair */ |
272 | } | 272 | } |
273 | 273 | ||
274 | type_error_exit: | 274 | type_error_exit: |
275 | 275 | ||
276 | /* Create a string with all expected types for this predefined object */ | 276 | /* Create a string with all expected types for this predefined object */ |
277 | 277 | ||
diff --git a/drivers/acpi/acpica/nsprepkg.c b/drivers/acpi/acpica/nsprepkg.c index 6d55cef7916c..3d5391f9bcb5 100644 --- a/drivers/acpi/acpica/nsprepkg.c +++ b/drivers/acpi/acpica/nsprepkg.c | |||
@@ -330,7 +330,7 @@ acpi_ns_check_package(struct acpi_evaluate_info *info, | |||
330 | 330 | ||
331 | return (status); | 331 | return (status); |
332 | 332 | ||
333 | package_too_small: | 333 | package_too_small: |
334 | 334 | ||
335 | /* Error exit for the case with an incorrect package count */ | 335 | /* Error exit for the case with an incorrect package count */ |
336 | 336 | ||
@@ -555,7 +555,7 @@ acpi_ns_check_package_list(struct acpi_evaluate_info *info, | |||
555 | 555 | ||
556 | return (AE_OK); | 556 | return (AE_OK); |
557 | 557 | ||
558 | package_too_small: | 558 | package_too_small: |
559 | 559 | ||
560 | /* The sub-package count was smaller than required */ | 560 | /* The sub-package count was smaller than required */ |
561 | 561 | ||
diff --git a/drivers/acpi/acpica/nsrepair.c b/drivers/acpi/acpica/nsrepair.c index f8e71ea60319..a05afff50eb9 100644 --- a/drivers/acpi/acpica/nsrepair.c +++ b/drivers/acpi/acpica/nsrepair.c | |||
@@ -263,7 +263,7 @@ acpi_ns_simple_repair(struct acpi_evaluate_info *info, | |||
263 | 263 | ||
264 | return (AE_AML_OPERAND_TYPE); | 264 | return (AE_AML_OPERAND_TYPE); |
265 | 265 | ||
266 | object_repaired: | 266 | object_repaired: |
267 | 267 | ||
268 | /* Object was successfully repaired */ | 268 | /* Object was successfully repaired */ |
269 | 269 | ||
diff --git a/drivers/acpi/acpica/nsrepair2.c b/drivers/acpi/acpica/nsrepair2.c index c84603ee83ae..6a25d320b169 100644 --- a/drivers/acpi/acpica/nsrepair2.c +++ b/drivers/acpi/acpica/nsrepair2.c | |||
@@ -478,7 +478,7 @@ acpi_ns_repair_CST(struct acpi_evaluate_info *info, | |||
478 | removing = TRUE; | 478 | removing = TRUE; |
479 | } | 479 | } |
480 | 480 | ||
481 | remove_element: | 481 | remove_element: |
482 | if (removing) { | 482 | if (removing) { |
483 | acpi_ns_remove_element(return_object, i + 1); | 483 | acpi_ns_remove_element(return_object, i + 1); |
484 | outer_element_count--; | 484 | outer_element_count--; |
diff --git a/drivers/acpi/acpica/nsutils.c b/drivers/acpi/acpica/nsutils.c index 08c0b5beec88..cc2fea94c5f0 100644 --- a/drivers/acpi/acpica/nsutils.c +++ b/drivers/acpi/acpica/nsutils.c | |||
@@ -722,7 +722,7 @@ acpi_ns_get_node(struct acpi_namespace_node *prefix_node, | |||
722 | 722 | ||
723 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 723 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
724 | 724 | ||
725 | cleanup: | 725 | cleanup: |
726 | ACPI_FREE(internal_path); | 726 | ACPI_FREE(internal_path); |
727 | return_ACPI_STATUS(status); | 727 | return_ACPI_STATUS(status); |
728 | } | 728 | } |
diff --git a/drivers/acpi/acpica/nsxfeval.c b/drivers/acpi/acpica/nsxfeval.c index ce2a84575a36..e973e311f856 100644 --- a/drivers/acpi/acpica/nsxfeval.c +++ b/drivers/acpi/acpica/nsxfeval.c | |||
@@ -442,7 +442,7 @@ acpi_evaluate_object(acpi_handle handle, | |||
442 | acpi_ex_exit_interpreter(); | 442 | acpi_ex_exit_interpreter(); |
443 | } | 443 | } |
444 | 444 | ||
445 | cleanup: | 445 | cleanup: |
446 | 446 | ||
447 | /* Free the input parameter list (if we created one) */ | 447 | /* Free the input parameter list (if we created one) */ |
448 | 448 | ||
@@ -618,10 +618,10 @@ acpi_walk_namespace(acpi_object_type type, | |||
618 | descending_callback, ascending_callback, | 618 | descending_callback, ascending_callback, |
619 | context, return_value); | 619 | context, return_value); |
620 | 620 | ||
621 | unlock_and_exit2: | 621 | unlock_and_exit2: |
622 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 622 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
623 | 623 | ||
624 | unlock_and_exit: | 624 | unlock_and_exit: |
625 | (void)acpi_ut_release_read_lock(&acpi_gbl_namespace_rw_lock); | 625 | (void)acpi_ut_release_read_lock(&acpi_gbl_namespace_rw_lock); |
626 | return_ACPI_STATUS(status); | 626 | return_ACPI_STATUS(status); |
627 | } | 627 | } |
@@ -865,7 +865,7 @@ acpi_attach_data(acpi_handle obj_handle, | |||
865 | 865 | ||
866 | status = acpi_ns_attach_data(node, handler, data); | 866 | status = acpi_ns_attach_data(node, handler, data); |
867 | 867 | ||
868 | unlock_and_exit: | 868 | unlock_and_exit: |
869 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 869 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
870 | return (status); | 870 | return (status); |
871 | } | 871 | } |
@@ -911,7 +911,7 @@ acpi_detach_data(acpi_handle obj_handle, acpi_object_handler handler) | |||
911 | 911 | ||
912 | status = acpi_ns_detach_data(node, handler); | 912 | status = acpi_ns_detach_data(node, handler); |
913 | 913 | ||
914 | unlock_and_exit: | 914 | unlock_and_exit: |
915 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 915 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
916 | return (status); | 916 | return (status); |
917 | } | 917 | } |
@@ -958,7 +958,7 @@ acpi_get_data(acpi_handle obj_handle, acpi_object_handler handler, void **data) | |||
958 | 958 | ||
959 | status = acpi_ns_get_attached_data(node, handler, data); | 959 | status = acpi_ns_get_attached_data(node, handler, data); |
960 | 960 | ||
961 | unlock_and_exit: | 961 | unlock_and_exit: |
962 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 962 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
963 | return (status); | 963 | return (status); |
964 | } | 964 | } |
diff --git a/drivers/acpi/acpica/nsxfname.c b/drivers/acpi/acpica/nsxfname.c index 3a6d78a3f64e..3a4bd3ff49a3 100644 --- a/drivers/acpi/acpica/nsxfname.c +++ b/drivers/acpi/acpica/nsxfname.c | |||
@@ -209,7 +209,7 @@ acpi_get_name(acpi_handle handle, u32 name_type, struct acpi_buffer * buffer) | |||
209 | ((char *)buffer->pointer)[ACPI_NAME_SIZE] = 0; | 209 | ((char *)buffer->pointer)[ACPI_NAME_SIZE] = 0; |
210 | status = AE_OK; | 210 | status = AE_OK; |
211 | 211 | ||
212 | unlock_and_exit: | 212 | unlock_and_exit: |
213 | 213 | ||
214 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 214 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
215 | return (status); | 215 | return (status); |
@@ -497,7 +497,7 @@ acpi_get_object_info(acpi_handle handle, | |||
497 | *return_buffer = info; | 497 | *return_buffer = info; |
498 | status = AE_OK; | 498 | status = AE_OK; |
499 | 499 | ||
500 | cleanup: | 500 | cleanup: |
501 | if (hid) { | 501 | if (hid) { |
502 | ACPI_FREE(hid); | 502 | ACPI_FREE(hid); |
503 | } | 503 | } |
diff --git a/drivers/acpi/acpica/nsxfobj.c b/drivers/acpi/acpica/nsxfobj.c index 94e961cf6294..0e6d79e462d4 100644 --- a/drivers/acpi/acpica/nsxfobj.c +++ b/drivers/acpi/acpica/nsxfobj.c | |||
@@ -201,7 +201,7 @@ acpi_status acpi_get_parent(acpi_handle handle, acpi_handle * ret_handle) | |||
201 | status = AE_NULL_ENTRY; | 201 | status = AE_NULL_ENTRY; |
202 | } | 202 | } |
203 | 203 | ||
204 | unlock_and_exit: | 204 | unlock_and_exit: |
205 | 205 | ||
206 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 206 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
207 | return (status); | 207 | return (status); |
@@ -281,7 +281,7 @@ acpi_get_next_object(acpi_object_type type, | |||
281 | *ret_handle = ACPI_CAST_PTR(acpi_handle, node); | 281 | *ret_handle = ACPI_CAST_PTR(acpi_handle, node); |
282 | } | 282 | } |
283 | 283 | ||
284 | unlock_and_exit: | 284 | unlock_and_exit: |
285 | 285 | ||
286 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 286 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
287 | return (status); | 287 | return (status); |
diff --git a/drivers/acpi/acpica/psparse.c b/drivers/acpi/acpica/psparse.c index 86198a9139b5..79d9a28dedef 100644 --- a/drivers/acpi/acpica/psparse.c +++ b/drivers/acpi/acpica/psparse.c | |||
@@ -297,7 +297,7 @@ acpi_ps_complete_this_op(struct acpi_walk_state * walk_state, | |||
297 | } | 297 | } |
298 | } | 298 | } |
299 | 299 | ||
300 | cleanup: | 300 | cleanup: |
301 | 301 | ||
302 | /* Now we can actually delete the subtree rooted at Op */ | 302 | /* Now we can actually delete the subtree rooted at Op */ |
303 | 303 | ||
diff --git a/drivers/acpi/acpica/psxface.c b/drivers/acpi/acpica/psxface.c index 11b99ab20bb3..fcb7a840e996 100644 --- a/drivers/acpi/acpica/psxface.c +++ b/drivers/acpi/acpica/psxface.c | |||
@@ -142,7 +142,7 @@ static void acpi_ps_start_trace(struct acpi_evaluate_info *info) | |||
142 | acpi_dbg_layer = acpi_gbl_trace_dbg_layer; | 142 | acpi_dbg_layer = acpi_gbl_trace_dbg_layer; |
143 | } | 143 | } |
144 | 144 | ||
145 | exit: | 145 | exit: |
146 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 146 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
147 | } | 147 | } |
148 | 148 | ||
@@ -185,7 +185,7 @@ static void acpi_ps_stop_trace(struct acpi_evaluate_info *info) | |||
185 | acpi_dbg_level = acpi_gbl_original_dbg_level; | 185 | acpi_dbg_level = acpi_gbl_original_dbg_level; |
186 | acpi_dbg_layer = acpi_gbl_original_dbg_layer; | 186 | acpi_dbg_layer = acpi_gbl_original_dbg_layer; |
187 | 187 | ||
188 | exit: | 188 | exit: |
189 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 189 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
190 | } | 190 | } |
191 | 191 | ||
@@ -323,7 +323,7 @@ acpi_status acpi_ps_execute_method(struct acpi_evaluate_info *info) | |||
323 | 323 | ||
324 | /* walk_state was deleted by parse_aml */ | 324 | /* walk_state was deleted by parse_aml */ |
325 | 325 | ||
326 | cleanup: | 326 | cleanup: |
327 | acpi_ps_delete_parse_tree(op); | 327 | acpi_ps_delete_parse_tree(op); |
328 | 328 | ||
329 | /* End optional tracing */ | 329 | /* End optional tracing */ |
diff --git a/drivers/acpi/acpica/rsmisc.c b/drivers/acpi/acpica/rsmisc.c index 80d12994e0d0..c99cec9cefde 100644 --- a/drivers/acpi/acpica/rsmisc.c +++ b/drivers/acpi/acpica/rsmisc.c | |||
@@ -440,7 +440,7 @@ acpi_rs_convert_aml_to_resource(struct acpi_resource *resource, | |||
440 | info++; | 440 | info++; |
441 | } | 441 | } |
442 | 442 | ||
443 | exit: | 443 | exit: |
444 | if (!flags_mode) { | 444 | if (!flags_mode) { |
445 | 445 | ||
446 | /* Round the resource struct length up to the next boundary (32 or 64) */ | 446 | /* Round the resource struct length up to the next boundary (32 or 64) */ |
@@ -783,7 +783,7 @@ acpi_rs_convert_resource_to_aml(struct acpi_resource *resource, | |||
783 | info++; | 783 | info++; |
784 | } | 784 | } |
785 | 785 | ||
786 | exit: | 786 | exit: |
787 | return_ACPI_STATUS(AE_OK); | 787 | return_ACPI_STATUS(AE_OK); |
788 | } | 788 | } |
789 | 789 | ||
diff --git a/drivers/acpi/acpica/rsutils.c b/drivers/acpi/acpica/rsutils.c index 480b6b40c5ea..aef303d56d86 100644 --- a/drivers/acpi/acpica/rsutils.c +++ b/drivers/acpi/acpica/rsutils.c | |||
@@ -784,7 +784,7 @@ acpi_rs_set_srs_method_data(struct acpi_namespace_node *node, | |||
784 | 784 | ||
785 | acpi_ut_remove_reference(args[0]); | 785 | acpi_ut_remove_reference(args[0]); |
786 | 786 | ||
787 | cleanup: | 787 | cleanup: |
788 | ACPI_FREE(info); | 788 | ACPI_FREE(info); |
789 | return_ACPI_STATUS(status); | 789 | return_ACPI_STATUS(status); |
790 | } | 790 | } |
diff --git a/drivers/acpi/acpica/tbinstal.c b/drivers/acpi/acpica/tbinstal.c index 9e6788f9ba0f..634357d51fe9 100644 --- a/drivers/acpi/acpica/tbinstal.c +++ b/drivers/acpi/acpica/tbinstal.c | |||
@@ -231,10 +231,10 @@ acpi_tb_add_table(struct acpi_table_desc *table_desc, u32 *table_index) | |||
231 | goto release; | 231 | goto release; |
232 | } | 232 | } |
233 | 233 | ||
234 | print_header: | 234 | print_header: |
235 | acpi_tb_print_table_header(table_desc->address, table_desc->pointer); | 235 | acpi_tb_print_table_header(table_desc->address, table_desc->pointer); |
236 | 236 | ||
237 | release: | 237 | release: |
238 | (void)acpi_ut_release_mutex(ACPI_MTX_TABLES); | 238 | (void)acpi_ut_release_mutex(ACPI_MTX_TABLES); |
239 | return_ACPI_STATUS(status); | 239 | return_ACPI_STATUS(status); |
240 | } | 240 | } |
@@ -306,7 +306,7 @@ struct acpi_table_header *acpi_tb_table_override(struct acpi_table_header | |||
306 | 306 | ||
307 | return (NULL); /* There was no override */ | 307 | return (NULL); /* There was no override */ |
308 | 308 | ||
309 | finish_override: | 309 | finish_override: |
310 | 310 | ||
311 | ACPI_INFO((AE_INFO, | 311 | ACPI_INFO((AE_INFO, |
312 | "%4.4s %p %s table override, new table: %p", | 312 | "%4.4s %p %s table override, new table: %p", |
diff --git a/drivers/acpi/acpica/tbutils.c b/drivers/acpi/acpica/tbutils.c index bffdfc7b8322..43ffe21c7b26 100644 --- a/drivers/acpi/acpica/tbutils.c +++ b/drivers/acpi/acpica/tbutils.c | |||
@@ -350,7 +350,7 @@ acpi_tb_install_table(acpi_physical_address address, | |||
350 | acpi_tb_delete_table(table_desc); | 350 | acpi_tb_delete_table(table_desc); |
351 | } | 351 | } |
352 | 352 | ||
353 | unmap_and_exit: | 353 | unmap_and_exit: |
354 | 354 | ||
355 | /* Always unmap the table header that we mapped above */ | 355 | /* Always unmap the table header that we mapped above */ |
356 | 356 | ||
diff --git a/drivers/acpi/acpica/tbxface.c b/drivers/acpi/acpica/tbxface.c index 2ad853275e39..bbaad5c4e2cd 100644 --- a/drivers/acpi/acpica/tbxface.c +++ b/drivers/acpi/acpica/tbxface.c | |||
@@ -466,7 +466,7 @@ acpi_install_table_handler(acpi_table_handler handler, void *context) | |||
466 | acpi_gbl_table_handler = handler; | 466 | acpi_gbl_table_handler = handler; |
467 | acpi_gbl_table_handler_context = context; | 467 | acpi_gbl_table_handler_context = context; |
468 | 468 | ||
469 | cleanup: | 469 | cleanup: |
470 | (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS); | 470 | (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS); |
471 | return_ACPI_STATUS(status); | 471 | return_ACPI_STATUS(status); |
472 | } | 472 | } |
@@ -507,7 +507,7 @@ acpi_status acpi_remove_table_handler(acpi_table_handler handler) | |||
507 | 507 | ||
508 | acpi_gbl_table_handler = NULL; | 508 | acpi_gbl_table_handler = NULL; |
509 | 509 | ||
510 | cleanup: | 510 | cleanup: |
511 | (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS); | 511 | (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS); |
512 | return_ACPI_STATUS(status); | 512 | return_ACPI_STATUS(status); |
513 | } | 513 | } |
diff --git a/drivers/acpi/acpica/tbxfload.c b/drivers/acpi/acpica/tbxfload.c index 2620dbe96cfa..5a2202495b0f 100644 --- a/drivers/acpi/acpica/tbxfload.c +++ b/drivers/acpi/acpica/tbxfload.c | |||
@@ -201,7 +201,7 @@ static acpi_status acpi_tb_load_namespace(void) | |||
201 | 201 | ||
202 | ACPI_INFO((AE_INFO, "All ACPI Tables successfully acquired")); | 202 | ACPI_INFO((AE_INFO, "All ACPI Tables successfully acquired")); |
203 | 203 | ||
204 | unlock_and_exit: | 204 | unlock_and_exit: |
205 | (void)acpi_ut_release_mutex(ACPI_MTX_TABLES); | 205 | (void)acpi_ut_release_mutex(ACPI_MTX_TABLES); |
206 | return_ACPI_STATUS(status); | 206 | return_ACPI_STATUS(status); |
207 | } | 207 | } |
@@ -269,7 +269,7 @@ acpi_status acpi_load_table(struct acpi_table_header *table) | |||
269 | acpi_gbl_table_handler_context); | 269 | acpi_gbl_table_handler_context); |
270 | } | 270 | } |
271 | 271 | ||
272 | unlock_and_exit: | 272 | unlock_and_exit: |
273 | (void)acpi_ut_release_mutex(ACPI_MTX_INTERPRETER); | 273 | (void)acpi_ut_release_mutex(ACPI_MTX_INTERPRETER); |
274 | return_ACPI_STATUS(status); | 274 | return_ACPI_STATUS(status); |
275 | } | 275 | } |
diff --git a/drivers/acpi/acpica/utcopy.c b/drivers/acpi/acpica/utcopy.c index 1731c27c36a6..edff4e653d9a 100644 --- a/drivers/acpi/acpica/utcopy.c +++ b/drivers/acpi/acpica/utcopy.c | |||
@@ -552,7 +552,7 @@ acpi_ut_copy_esimple_to_isimple(union acpi_object *external_object, | |||
552 | *ret_internal_object = internal_object; | 552 | *ret_internal_object = internal_object; |
553 | return_ACPI_STATUS(AE_OK); | 553 | return_ACPI_STATUS(AE_OK); |
554 | 554 | ||
555 | error_exit: | 555 | error_exit: |
556 | acpi_ut_remove_reference(internal_object); | 556 | acpi_ut_remove_reference(internal_object); |
557 | return_ACPI_STATUS(AE_NO_MEMORY); | 557 | return_ACPI_STATUS(AE_NO_MEMORY); |
558 | } | 558 | } |
@@ -899,7 +899,7 @@ acpi_ut_copy_ielement_to_ielement(u8 object_type, | |||
899 | 899 | ||
900 | return (status); | 900 | return (status); |
901 | 901 | ||
902 | error_exit: | 902 | error_exit: |
903 | acpi_ut_remove_reference(target_object); | 903 | acpi_ut_remove_reference(target_object); |
904 | return (status); | 904 | return (status); |
905 | } | 905 | } |
diff --git a/drivers/acpi/acpica/utdelete.c b/drivers/acpi/acpica/utdelete.c index d6b33f29d327..c07d2227ea42 100644 --- a/drivers/acpi/acpica/utdelete.c +++ b/drivers/acpi/acpica/utdelete.c | |||
@@ -649,7 +649,7 @@ acpi_ut_update_object_reference(union acpi_operand_object *object, u16 action) | |||
649 | 649 | ||
650 | return (AE_OK); | 650 | return (AE_OK); |
651 | 651 | ||
652 | error_exit: | 652 | error_exit: |
653 | 653 | ||
654 | ACPI_EXCEPTION((AE_INFO, status, | 654 | ACPI_EXCEPTION((AE_INFO, status, |
655 | "Could not update object reference count")); | 655 | "Could not update object reference count")); |
diff --git a/drivers/acpi/acpica/uteval.c b/drivers/acpi/acpica/uteval.c index 4fd68971019b..16fb90506db7 100644 --- a/drivers/acpi/acpica/uteval.c +++ b/drivers/acpi/acpica/uteval.c | |||
@@ -181,7 +181,7 @@ acpi_ut_evaluate_object(struct acpi_namespace_node *prefix_node, | |||
181 | 181 | ||
182 | *return_desc = info->return_object; | 182 | *return_desc = info->return_object; |
183 | 183 | ||
184 | cleanup: | 184 | cleanup: |
185 | ACPI_FREE(info); | 185 | ACPI_FREE(info); |
186 | return_ACPI_STATUS(status); | 186 | return_ACPI_STATUS(status); |
187 | } | 187 | } |
diff --git a/drivers/acpi/acpica/utids.c b/drivers/acpi/acpica/utids.c index fa69071db418..bfca7b4b6731 100644 --- a/drivers/acpi/acpica/utids.c +++ b/drivers/acpi/acpica/utids.c | |||
@@ -184,7 +184,7 @@ acpi_ut_execute_SUB(struct acpi_namespace_node *device_node, | |||
184 | sub->length = length; | 184 | sub->length = length; |
185 | *return_id = sub; | 185 | *return_id = sub; |
186 | 186 | ||
187 | cleanup: | 187 | cleanup: |
188 | 188 | ||
189 | /* On exit, we must delete the return object */ | 189 | /* On exit, we must delete the return object */ |
190 | 190 | ||
diff --git a/drivers/acpi/acpica/utownerid.c b/drivers/acpi/acpica/utownerid.c index 835340b26d37..eb3aca761369 100644 --- a/drivers/acpi/acpica/utownerid.c +++ b/drivers/acpi/acpica/utownerid.c | |||
@@ -148,7 +148,7 @@ acpi_status acpi_ut_allocate_owner_id(acpi_owner_id * owner_id) | |||
148 | ACPI_ERROR((AE_INFO, | 148 | ACPI_ERROR((AE_INFO, |
149 | "Could not allocate new OwnerId (255 max), AE_OWNER_ID_LIMIT")); | 149 | "Could not allocate new OwnerId (255 max), AE_OWNER_ID_LIMIT")); |
150 | 150 | ||
151 | exit: | 151 | exit: |
152 | (void)acpi_ut_release_mutex(ACPI_MTX_CACHES); | 152 | (void)acpi_ut_release_mutex(ACPI_MTX_CACHES); |
153 | return_ACPI_STATUS(status); | 153 | return_ACPI_STATUS(status); |
154 | } | 154 | } |
diff --git a/drivers/acpi/acpica/utresrc.c b/drivers/acpi/acpica/utresrc.c index cb7fa491decf..2c2accb9e534 100644 --- a/drivers/acpi/acpica/utresrc.c +++ b/drivers/acpi/acpica/utresrc.c | |||
@@ -643,7 +643,7 @@ acpi_ut_validate_resource(struct acpi_walk_state *walk_state, | |||
643 | 643 | ||
644 | return (AE_OK); | 644 | return (AE_OK); |
645 | 645 | ||
646 | invalid_resource: | 646 | invalid_resource: |
647 | 647 | ||
648 | if (walk_state) { | 648 | if (walk_state) { |
649 | ACPI_ERROR((AE_INFO, | 649 | ACPI_ERROR((AE_INFO, |
@@ -652,7 +652,7 @@ acpi_ut_validate_resource(struct acpi_walk_state *walk_state, | |||
652 | } | 652 | } |
653 | return (AE_AML_INVALID_RESOURCE_TYPE); | 653 | return (AE_AML_INVALID_RESOURCE_TYPE); |
654 | 654 | ||
655 | bad_resource_length: | 655 | bad_resource_length: |
656 | 656 | ||
657 | if (walk_state) { | 657 | if (walk_state) { |
658 | ACPI_ERROR((AE_INFO, | 658 | ACPI_ERROR((AE_INFO, |
diff --git a/drivers/acpi/acpica/utstring.c b/drivers/acpi/acpica/utstring.c index 5ef41ffcf575..45c0eb26b33d 100644 --- a/drivers/acpi/acpica/utstring.c +++ b/drivers/acpi/acpica/utstring.c | |||
@@ -310,7 +310,7 @@ acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer) | |||
310 | 310 | ||
311 | /* All done, normal exit */ | 311 | /* All done, normal exit */ |
312 | 312 | ||
313 | all_done: | 313 | all_done: |
314 | 314 | ||
315 | ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "Converted value: %8.8X%8.8X\n", | 315 | ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "Converted value: %8.8X%8.8X\n", |
316 | ACPI_FORMAT_UINT64(return_value))); | 316 | ACPI_FORMAT_UINT64(return_value))); |
@@ -318,7 +318,7 @@ acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer) | |||
318 | *ret_integer = return_value; | 318 | *ret_integer = return_value; |
319 | return_ACPI_STATUS(AE_OK); | 319 | return_ACPI_STATUS(AE_OK); |
320 | 320 | ||
321 | error_exit: | 321 | error_exit: |
322 | /* Base was set/validated above */ | 322 | /* Base was set/validated above */ |
323 | 323 | ||
324 | if (base == 10) { | 324 | if (base == 10) { |
diff --git a/drivers/acpi/acpica/uttrack.c b/drivers/acpi/acpica/uttrack.c index 77e3eb7d7c04..c0027773cccb 100644 --- a/drivers/acpi/acpica/uttrack.c +++ b/drivers/acpi/acpica/uttrack.c | |||
@@ -430,7 +430,7 @@ acpi_ut_track_allocation(struct acpi_debug_mem_block *allocation, | |||
430 | element->next = allocation; | 430 | element->next = allocation; |
431 | } | 431 | } |
432 | 432 | ||
433 | unlock_and_exit: | 433 | unlock_and_exit: |
434 | status = acpi_ut_release_mutex(ACPI_MTX_MEMORY); | 434 | status = acpi_ut_release_mutex(ACPI_MTX_MEMORY); |
435 | return_ACPI_STATUS(status); | 435 | return_ACPI_STATUS(status); |
436 | } | 436 | } |