ACPICA: Linuxize: Change indentation of C labels.
authorLv Zheng <lv.zheng@intel.com>
Tue, 29 Oct 2013 01:30:02 +0000 (09:30 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 31 Oct 2013 13:35:36 +0000 (14:35 +0100)
It is reported by kernel build test systems that all ACPICA source
files in the kernel tree have incorrect label indentation.  This
patch changes default indent option used in the release process to
fix this bug.  Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
60 files changed:
drivers/acpi/acpica/dsargs.c
drivers/acpi/acpica/dsfield.c
drivers/acpi/acpica/dsmethod.c
drivers/acpi/acpica/dsobject.c
drivers/acpi/acpica/dsopcode.c
drivers/acpi/acpica/dsutils.c
drivers/acpi/acpica/dswexec.c
drivers/acpi/acpica/dswload2.c
drivers/acpi/acpica/evglock.c
drivers/acpi/acpica/evgpe.c
drivers/acpi/acpica/evgpeblk.c
drivers/acpi/acpica/evgpeinit.c
drivers/acpi/acpica/evgpeutil.c
drivers/acpi/acpica/evhandler.c
drivers/acpi/acpica/evregion.c
drivers/acpi/acpica/evxface.c
drivers/acpi/acpica/evxfgpe.c
drivers/acpi/acpica/evxfregn.c
drivers/acpi/acpica/excreate.c
drivers/acpi/acpica/exfield.c
drivers/acpi/acpica/exfldio.c
drivers/acpi/acpica/exmisc.c
drivers/acpi/acpica/exoparg1.c
drivers/acpi/acpica/exoparg2.c
drivers/acpi/acpica/exoparg3.c
drivers/acpi/acpica/exoparg6.c
drivers/acpi/acpica/exresolv.c
drivers/acpi/acpica/exresop.c
drivers/acpi/acpica/hwregs.c
drivers/acpi/acpica/hwxface.c
drivers/acpi/acpica/nsaccess.c
drivers/acpi/acpica/nsdump.c
drivers/acpi/acpica/nseval.c
drivers/acpi/acpica/nsinit.c
drivers/acpi/acpica/nsload.c
drivers/acpi/acpica/nsparse.c
drivers/acpi/acpica/nspredef.c
drivers/acpi/acpica/nsprepkg.c
drivers/acpi/acpica/nsrepair.c
drivers/acpi/acpica/nsrepair2.c
drivers/acpi/acpica/nsutils.c
drivers/acpi/acpica/nsxfeval.c
drivers/acpi/acpica/nsxfname.c
drivers/acpi/acpica/nsxfobj.c
drivers/acpi/acpica/psparse.c
drivers/acpi/acpica/psxface.c
drivers/acpi/acpica/rsmisc.c
drivers/acpi/acpica/rsutils.c
drivers/acpi/acpica/tbinstal.c
drivers/acpi/acpica/tbutils.c
drivers/acpi/acpica/tbxface.c
drivers/acpi/acpica/tbxfload.c
drivers/acpi/acpica/utcopy.c
drivers/acpi/acpica/utdelete.c
drivers/acpi/acpica/uteval.c
drivers/acpi/acpica/utids.c
drivers/acpi/acpica/utownerid.c
drivers/acpi/acpica/utresrc.c
drivers/acpi/acpica/utstring.c
drivers/acpi/acpica/uttrack.c

index fb09b08d7080100b250fbf6ffa164bda1ad43b55..afdc6df17abf12fa37311484b48e00ba0ff67bca 100644 (file)
@@ -158,7 +158,7 @@ acpi_ds_execute_arguments(struct acpi_namespace_node *node,
        walk_state->deferred_node = node;
        status = acpi_ps_parse_aml(walk_state);
 
-      cleanup:
+cleanup:
        acpi_ps_delete_parse_tree(op);
        return_ACPI_STATUS(status);
 }
index d4bfe7b7f90a54a5b5cdafb8119f0d60698be171..2d4c07322576c9697ccd8389e822e3e27564fd67 100644 (file)
@@ -259,7 +259,7 @@ acpi_ds_create_buffer_field(union acpi_parse_object *op,
                goto cleanup;
        }
 
-      cleanup:
+cleanup:
 
        /* Remove local reference to the object */
 
index a9ffd44c18fe322b0a73b97bbe5c11207464c1ba..df3ea125507f5959fa055ef44bc524fc9bdb02e0 100644 (file)
@@ -294,7 +294,7 @@ acpi_ds_begin_method_execution(struct acpi_namespace_node *method_node,
        obj_desc->method.thread_count++;
        return_ACPI_STATUS(status);
 
-      cleanup:
+cleanup:
        /* On error, must release the method mutex (if present) */
 
        if (obj_desc->method.mutex) {
@@ -424,7 +424,7 @@ acpi_ds_call_control_method(struct acpi_thread_state *thread,
 
        return_ACPI_STATUS(status);
 
-      cleanup:
+cleanup:
 
        /* On error, we must terminate the method properly */
 
index 63f0d220ca3d99a2da601b1b4571972bf2f71397..b1746a68dad11b8ac3a7b37bdb213f1e7265ee17 100644 (file)
@@ -240,7 +240,7 @@ acpi_ds_build_internal_object(struct acpi_walk_state *walk_state,
                return_ACPI_STATUS(status);
        }
 
-      exit:
+exit:
        *obj_desc_ptr = obj_desc;
        return_ACPI_STATUS(status);
 }
index 1fc1ff114f269867bf1a281e584511c00595d960..5205edcf2c019d1936c81af2d77a8f4e732d9c0d 100644 (file)
@@ -257,7 +257,7 @@ acpi_ds_init_buffer_field(u16 aml_opcode,
            (buffer_desc->common.reference_count +
             obj_desc->common.reference_count);
 
-      cleanup:
+cleanup:
 
        /* Always delete the operands */
 
index c666fc01498795afdb76f6afad8383f75389d1bb..ade44e49deb4b554f78ff49884d010633c507047 100644 (file)
@@ -299,7 +299,7 @@ acpi_ds_is_result_used(union acpi_parse_object * op,
                goto result_used;
        }
 
-      result_used:
+result_used:
        ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH,
                          "Result of [%s] used by Parent [%s] Op=%p\n",
                          acpi_ps_get_opcode_name(op->common.aml_opcode),
@@ -308,7 +308,7 @@ acpi_ds_is_result_used(union acpi_parse_object * op,
 
        return_UINT8(TRUE);
 
-      result_not_used:
+result_not_used:
        ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH,
                          "Result of [%s] not used by Parent [%s] Op=%p\n",
                          acpi_ps_get_opcode_name(op->common.aml_opcode),
@@ -752,7 +752,7 @@ acpi_ds_create_operands(struct acpi_walk_state *walk_state,
 
        return_ACPI_STATUS(status);
 
-      cleanup:
+cleanup:
        /*
         * We must undo everything done above; meaning that we must
         * 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)
                goto exit;
        }
 
-      push_result:
+push_result:
 
        walk_state->result_obj = new_obj_desc;
 
@@ -863,7 +863,7 @@ acpi_status acpi_ds_evaluate_name_path(struct acpi_walk_state *walk_state)
                op->common.flags |= ACPI_PARSEOP_IN_STACK;
        }
 
-      exit:
+exit:
 
        return_ACPI_STATUS(status);
 }
index 151d924817e1b2041bfd60cad46aaaf1a5dc9e20..1bbb22fd6fa02f005893fc691eedfb8d0981246e 100644 (file)
@@ -170,7 +170,7 @@ acpi_ds_get_predicate_value(struct acpi_walk_state *walk_state,
 
        (void)acpi_ds_do_implicit_return(local_obj_desc, walk_state, TRUE);
 
-      cleanup:
+cleanup:
 
        ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "Completed a predicate eval=%X Op=%p\n",
                          walk_state->control_state->common.value,
@@ -335,7 +335,7 @@ acpi_ds_exec_begin_op(struct acpi_walk_state *walk_state,
 
        return_ACPI_STATUS(status);
 
-      error_exit:
+error_exit:
        status = acpi_ds_method_error(status, walk_state);
        return_ACPI_STATUS(status);
 }
@@ -722,7 +722,7 @@ acpi_status acpi_ds_exec_end_op(struct acpi_walk_state *walk_state)
                walk_state->result_obj = NULL;
        }
 
-      cleanup:
+cleanup:
 
        if (walk_state->result_obj) {
 
index b1f8f4725c230b0d6b0bf9155f13028f42d62667..7f569d57302758dcec3643d489f715f794625f78 100644 (file)
@@ -728,7 +728,7 @@ acpi_status acpi_ds_load2_end_op(struct acpi_walk_state *walk_state)
                break;
        }
 
-      cleanup:
+cleanup:
 
        /* Remove the Node pushed at the very beginning */
 
index fdb0a76e40a3020806cfce8c4e637273e2fc4f2c..4c67193a9fa731f0f616023ffb642547d38795df 100644 (file)
@@ -173,7 +173,7 @@ static u32 acpi_ev_global_lock_handler(void *context)
 
        acpi_gbl_global_lock_pending = FALSE;
 
-      cleanup_and_exit:
+cleanup_and_exit:
 
        acpi_os_release_lock(acpi_gbl_global_lock_pending_lock, flags);
        return (ACPI_INTERRUPT_HANDLED);
index 1979a256be3ba4287a1fe9f9b0a468568c7b3263..a9cb4a1a4bb8ce6b2c203c7c16360556decd3ada 100644 (file)
@@ -458,7 +458,7 @@ u32 acpi_ev_gpe_detect(struct acpi_gpe_xrupt_info * gpe_xrupt_list)
                gpe_block = gpe_block->next;
        }
 
-      unlock_and_exit:
+unlock_and_exit:
 
        acpi_os_release_lock(acpi_gbl_gpe_lock, flags);
        return (int_status);
index c1aa1eda26c32ec73dc68ac6d5433d783383348b..a9e76bc4ad97f9b6e5e8a8cf67dce7d2beeb8068 100644 (file)
@@ -111,7 +111,7 @@ acpi_ev_install_gpe_block(struct acpi_gpe_block_info *gpe_block,
        gpe_block->xrupt_block = gpe_xrupt_block;
        acpi_os_release_lock(acpi_gbl_gpe_lock, flags);
 
-      unlock_and_exit:
+unlock_and_exit:
        status = acpi_ut_release_mutex(ACPI_MTX_EVENTS);
        return_ACPI_STATUS(status);
 }
@@ -178,7 +178,7 @@ acpi_status acpi_ev_delete_gpe_block(struct acpi_gpe_block_info *gpe_block)
        ACPI_FREE(gpe_block->event_info);
        ACPI_FREE(gpe_block);
 
-      unlock_and_exit:
+unlock_and_exit:
        status = acpi_ut_release_mutex(ACPI_MTX_EVENTS);
        return_ACPI_STATUS(status);
 }
@@ -302,7 +302,7 @@ acpi_ev_create_gpe_info_blocks(struct acpi_gpe_block_info *gpe_block)
 
        return_ACPI_STATUS(AE_OK);
 
-      error_exit:
+error_exit:
        if (gpe_register_info) {
                ACPI_FREE(gpe_register_info);
        }
index 7842700346a48b0cfa542d46def472ba92643212..a3e2f38aadf64783cd3dfd03f1f6bc0140a87b85 100644 (file)
@@ -203,7 +203,7 @@ acpi_status acpi_ev_gpe_initialize(void)
                goto cleanup;
        }
 
-      cleanup:
+cleanup:
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
        return_ACPI_STATUS(AE_OK);
 }
index d52339090b604ba1569f599a03a45e6712e54ee9..d3f5e1e2a2b14ba699fb78309c7c23e5f0949fab 100644 (file)
@@ -101,7 +101,7 @@ acpi_ev_walk_gpe_list(acpi_gpe_callback gpe_walk_callback, void *context)
                gpe_xrupt_info = gpe_xrupt_info->next;
        }
 
-      unlock_and_exit:
+unlock_and_exit:
        acpi_os_release_lock(acpi_gbl_gpe_lock, flags);
        return_ACPI_STATUS(status);
 }
index 068af96134b89787a739cce281f481db82e46e19..e3157313eb2786e2098b7c6fa5f4a3c58c40d293 100644 (file)
@@ -129,7 +129,7 @@ acpi_status acpi_ev_install_region_handlers(void)
                }
        }
 
-      unlock_and_exit:
+unlock_and_exit:
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
        return_ACPI_STATUS(status);
 }
@@ -531,6 +531,6 @@ acpi_ev_install_space_handler(struct acpi_namespace_node * node,
                                        acpi_ev_install_handler, NULL,
                                        handler_obj, NULL);
 
-      unlock_and_exit:
+unlock_and_exit:
        return_ACPI_STATUS(status);
 }
index 6293d6bb6fe1e2a0348f90505ebbaa36f2f3f3b2..144cbb9b73bc7238460be80e22a62a95aa2042e3 100644 (file)
@@ -573,10 +573,10 @@ acpi_ev_execute_reg_method(union acpi_operand_object *region_obj, u32 function)
        status = acpi_ns_evaluate(info);
        acpi_ut_remove_reference(args[1]);
 
-      cleanup2:
+cleanup2:
        acpi_ut_remove_reference(args[0]);
 
-      cleanup1:
+cleanup1:
        ACPI_FREE(info);
        return_ACPI_STATUS(status);
 }
@@ -761,7 +761,7 @@ acpi_ev_orphan_ec_reg_method(struct acpi_namespace_node *ec_device_node)
 
        status = acpi_evaluate_object(reg_method, NULL, &args, NULL);
 
-      exit:
+exit:
        /* We ignore all errors from above, don't care */
 
        status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE);
index 6d88b1368088a5d6dfcd242869109952484ec719..23a7fadca4122992c7f652c32674843de13500f9 100644 (file)
@@ -375,7 +375,7 @@ acpi_status acpi_install_exception_handler(acpi_exception_handler handler)
 
        acpi_gbl_exception_handler = handler;
 
-      cleanup:
+cleanup:
        (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS);
        return_ACPI_STATUS(status);
 }
@@ -445,12 +445,12 @@ acpi_status acpi_install_sci_handler(acpi_sci_handler address, void *context)
        new_sci_handler->next = acpi_gbl_sci_handler_list;
        acpi_gbl_sci_handler_list = new_sci_handler;
 
-      unlock_and_exit:
+unlock_and_exit:
 
        acpi_os_release_lock(acpi_gbl_gpe_lock, flags);
        (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS);
 
-      exit:
+exit:
        if (ACPI_FAILURE(status)) {
                ACPI_FREE(new_sci_handler);
        }
@@ -517,7 +517,7 @@ acpi_status acpi_remove_sci_handler(acpi_sci_handler address)
        acpi_os_release_lock(acpi_gbl_gpe_lock, flags);
        status = AE_NOT_EXIST;
 
-      unlock_and_exit:
+unlock_and_exit:
        (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS);
        return_ACPI_STATUS(status);
 }
@@ -566,7 +566,7 @@ acpi_install_global_event_handler(acpi_gbl_event_handler handler, void *context)
        acpi_gbl_global_event_handler = handler;
        acpi_gbl_global_event_handler_context = context;
 
-      cleanup:
+cleanup:
        (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS);
        return_ACPI_STATUS(status);
 }
@@ -638,7 +638,7 @@ acpi_install_fixed_event_handler(u32 event,
                                  handler));
        }
 
-      cleanup:
+cleanup:
        (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS);
        return_ACPI_STATUS(status);
 }
index fab40d9b3bd665454ca326d3ad11f9043dff42c6..5713da77c665b01a5e9dcdbd91abc70a11f4228a 100644 (file)
@@ -472,7 +472,7 @@ acpi_get_gpe_status(acpi_handle gpe_device,
        if (gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK)
                *event_status |= ACPI_EVENT_FLAG_HANDLE;
 
-      unlock_and_exit:
+unlock_and_exit:
        acpi_os_release_lock(acpi_gbl_gpe_lock, flags);
        return_ACPI_STATUS(status);
 }
@@ -625,7 +625,7 @@ acpi_install_gpe_block(acpi_handle gpe_device,
 
        obj_desc->device.gpe_block = gpe_block;
 
-      unlock_and_exit:
+unlock_and_exit:
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
        return_ACPI_STATUS(status);
 }
@@ -680,7 +680,7 @@ acpi_status acpi_remove_gpe_block(acpi_handle gpe_device)
                obj_desc->device.gpe_block = NULL;
        }
 
-      unlock_and_exit:
+unlock_and_exit:
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
        return_ACPI_STATUS(status);
 }
index 1bd3225be4682fb682a84f950770988376a8c9b8..02ed75ac56cd5454adc527b09e3ebe63a329ae0e 100644 (file)
@@ -148,7 +148,7 @@ acpi_install_address_space_handler(acpi_handle device,
 
        status = acpi_ev_execute_reg_methods(node, space_id);
 
-      unlock_and_exit:
+unlock_and_exit:
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
        return_ACPI_STATUS(status);
 }
@@ -287,7 +287,7 @@ acpi_remove_address_space_handler(acpi_handle device,
 
        status = AE_NOT_EXIST;
 
-      unlock_and_exit:
+unlock_and_exit:
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
        return_ACPI_STATUS(status);
 }
index 269e81d86ef41c59e7eaa3d61bb7c63ba23457bd..3c2e6dcdad3e6abcbb60e1afacf3e0717c55a0d8 100644 (file)
@@ -193,7 +193,7 @@ acpi_status acpi_ex_create_event(struct acpi_walk_state *walk_state)
            acpi_ns_attach_object((struct acpi_namespace_node *)walk_state->
                                  operands[0], obj_desc, ACPI_TYPE_EVENT);
 
-      cleanup:
+cleanup:
        /*
         * Remove local reference to the object (on error, will cause deletion
         * of both object and semaphore if present.)
@@ -248,7 +248,7 @@ acpi_status acpi_ex_create_mutex(struct acpi_walk_state *walk_state)
            acpi_ns_attach_object(obj_desc->mutex.node, obj_desc,
                                  ACPI_TYPE_MUTEX);
 
-      cleanup:
+cleanup:
        /*
         * Remove local reference to the object (on error, will cause deletion
         * of both object and semaphore if present.)
@@ -347,7 +347,7 @@ acpi_ex_create_region(u8 * aml_start,
 
        status = acpi_ns_attach_object(node, obj_desc, ACPI_TYPE_REGION);
 
-      cleanup:
+cleanup:
 
        /* Remove local reference to the object */
 
@@ -520,7 +520,7 @@ acpi_ex_create_method(u8 * aml_start,
 
        acpi_ut_remove_reference(obj_desc);
 
-      exit:
+exit:
        /* Remove a reference to the operand */
 
        acpi_ut_remove_reference(operand[1]);
index c2a65aaf29af006f3be629aab6b9f6b698650b40..cfd875243421473d23ac1f9e0350488041cfc617 100644 (file)
@@ -197,7 +197,7 @@ acpi_ex_read_data_from_field(struct acpi_walk_state *walk_state,
        status = acpi_ex_extract_from_field(obj_desc, buffer, (u32) length);
        acpi_ex_release_global_lock(obj_desc->common_field.field_flags);
 
-      exit:
+exit:
        if (ACPI_FAILURE(status)) {
                acpi_ut_remove_reference(buffer_desc);
        } else {
index 7e0afe72487ea73ee5504d73891b294b83aceb91..8ab01b613a18e1a225350710b2882e43bb2622c3 100644 (file)
@@ -1002,7 +1002,7 @@ acpi_ex_insert_into_field(union acpi_operand_object *obj_desc,
                                                mask, merged_datum,
                                                field_offset);
 
-      exit:
+exit:
        /* Free temporary buffer if we used one */
 
        if (new_buffer) {
index 00bf298775741763054eabd2d3030dcb6494e150..65d93607f3681d845a87a4f721cdddb8728df660 100644 (file)
@@ -388,7 +388,7 @@ acpi_ex_do_concatenate(union acpi_operand_object *operand0,
 
        *actual_return_desc = return_desc;
 
-      cleanup:
+cleanup:
        if (local_operand1 != operand1) {
                acpi_ut_remove_reference(local_operand1);
        }
@@ -718,7 +718,7 @@ acpi_ex_do_logical_op(u16 opcode,
                }
        }
 
-      cleanup:
+cleanup:
 
        /* New object was created if implicit conversion performed - delete */
 
index 2cdd41d8ade6f6c3ebef1d7a629eba1792aaeedc..d74cea416ca05beaa9af14e9d0af3a1fd0aa3c89 100644 (file)
@@ -115,7 +115,7 @@ acpi_status acpi_ex_opcode_0A_0T_1R(struct acpi_walk_state *walk_state)
                break;
        }
 
-      cleanup:
+cleanup:
 
        /* Delete return object on error */
 
@@ -234,7 +234,7 @@ acpi_status acpi_ex_opcode_1A_1T_0R(struct acpi_walk_state *walk_state)
                goto cleanup;
        }
 
-      cleanup:
+cleanup:
 
        return_ACPI_STATUS(status);
 }
@@ -551,7 +551,7 @@ acpi_status acpi_ex_opcode_1A_1T_1R(struct acpi_walk_state *walk_state)
                status = acpi_ex_store(return_desc, operand[1], walk_state);
        }
 
-      cleanup:
+cleanup:
 
        /* Delete return object on error */
 
@@ -1054,7 +1054,7 @@ acpi_status acpi_ex_opcode_1A_0T_1R(struct acpi_walk_state *walk_state)
                goto cleanup;
        }
 
-      cleanup:
+cleanup:
 
        /* Delete return object on error */
 
index d5088f7030c753fb9e36b78b25d894e2c48cf74c..d6fa0fce1fc91e74b197490b0f1f180d386b9545 100644 (file)
@@ -215,7 +215,7 @@ acpi_status acpi_ex_opcode_2A_2T_1R(struct acpi_walk_state *walk_state)
                goto cleanup;
        }
 
-      cleanup:
+cleanup:
        /*
         * Since the remainder is not returned indirectly, remove a reference to
         * 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)
                break;
        }
 
-      store_result_to_target:
+store_result_to_target:
 
        if (ACPI_SUCCESS(status)) {
                /*
@@ -462,7 +462,7 @@ acpi_status acpi_ex_opcode_2A_1T_1R(struct acpi_walk_state *walk_state)
                }
        }
 
-      cleanup:
+cleanup:
 
        /* Delete return object on error */
 
@@ -553,7 +553,7 @@ acpi_status acpi_ex_opcode_2A_0T_1R(struct acpi_walk_state *walk_state)
                goto cleanup;
        }
 
-      store_logical_result:
+store_logical_result:
        /*
         * Set return value to according to logical_result. logical TRUE (all ones)
         * Default is FALSE (zero)
@@ -562,7 +562,7 @@ acpi_status acpi_ex_opcode_2A_0T_1R(struct acpi_walk_state *walk_state)
                return_desc->integer.value = ACPI_UINT64_MAX;
        }
 
-      cleanup:
+cleanup:
 
        /* Delete return object on error */
 
index 37656f12f204bcd3b12ae6c1d8384eb392990e1a..bc042adf880496ffce63da79852b574e1a97c9f2 100644 (file)
@@ -124,7 +124,7 @@ acpi_status acpi_ex_opcode_3A_0T_0R(struct acpi_walk_state *walk_state)
                goto cleanup;
        }
 
-      cleanup:
+cleanup:
 
        return_ACPI_STATUS(status);
 }
@@ -252,7 +252,7 @@ acpi_status acpi_ex_opcode_3A_1T_1R(struct acpi_walk_state *walk_state)
 
        status = acpi_ex_store(return_desc, operand[3], walk_state);
 
-      cleanup:
+cleanup:
 
        /* Delete return object on error */
 
index 879b6cd8319cdc09023e3852da1efe1b51f84282..4459e32c683d3c9e78bdf6bf807048b05e52a4a4 100644 (file)
@@ -314,7 +314,7 @@ acpi_status acpi_ex_opcode_6A_0T_1R(struct acpi_walk_state * walk_state)
                goto cleanup;
        }
 
-      cleanup:
+cleanup:
 
        /* Delete return object on error */
 
index ac04278ad28f00294d6fc7a3034795bcbb1c0bfb..1606524312e3a4f4219d47f7513390abc9986f75 100644 (file)
@@ -521,7 +521,7 @@ acpi_ex_resolve_multiple(struct acpi_walk_state *walk_state,
         */
        type = obj_desc->common.type;
 
-      exit:
+exit:
        /* Convert internal types to external types */
 
        switch (type) {
index 00e5af7129c1234338e4c5f0aeddcde5941ce94d..be3f66973ee809637c30ada74e2ca706e0185795 100644 (file)
@@ -683,7 +683,7 @@ acpi_ex_resolve_operands(u16 opcode,
                        return_ACPI_STATUS(status);
                }
 
-             next_operand:
+next_operand:
                /*
                 * If more operands needed, decrement stack_ptr to point
                 * to next operand on stack
index 8d2e866be15f84a301183cf5690205785ec4f2ea..12e6cff54f7885558d898c35c0a7375282139c5c 100644 (file)
@@ -560,7 +560,7 @@ acpi_status acpi_hw_register_write(u32 register_id, u32 value)
                break;
        }
 
-      exit:
+exit:
        return_ACPI_STATUS(status);
 }
 
index b1568481463a9da5120174812005b17751ff7f8d..b4b47db2dee271a82ec4f3f6537f194c7c982ef8 100644 (file)
@@ -570,10 +570,10 @@ acpi_get_sleep_type_data(u8 sleep_state, u8 *sleep_type_a, u8 *sleep_type_b)
                break;
        }
 
-      cleanup1:
+cleanup1:
        acpi_ut_remove_reference(info->return_object);
 
-      cleanup:
+cleanup:
        if (ACPI_FAILURE(status)) {
                ACPI_EXCEPTION((AE_INFO, status,
                                "While evaluating Sleep State [%s]",
index aff79c7392ff3ff20e19e0a8f43a82709b0053ef..14f65f6345b9a2de465cbe06d6047dc40f2c9576 100644 (file)
@@ -240,7 +240,7 @@ acpi_status acpi_ns_root_initialize(void)
                }
        }
 
-      unlock_and_exit:
+unlock_and_exit:
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
 
        /* Save a handle to "_GPE", it is always present */
index c6348545277e91adea339455ceaac096de918df6..48b9c6f1264351b27b7232af13a810c98553eec1 100644 (file)
@@ -620,7 +620,7 @@ acpi_ns_dump_one_object(acpi_handle obj_handle,
                obj_type = ACPI_TYPE_INVALID;   /* Terminate loop after next pass */
        }
 
-      cleanup:
+cleanup:
        acpi_os_printf("\n");
        return (AE_OK);
 }
index 18108bc2e51cd76833c42b13d6c6e6e678bcb976..963ceef063f8c0de739da154b3330dd95f809895 100644 (file)
@@ -314,7 +314,7 @@ acpi_status acpi_ns_evaluate(struct acpi_evaluate_info *info)
                          "*** Completed evaluation of object %s ***\n",
                          info->relative_pathname));
 
- cleanup:
+cleanup:
        /*
         * Namespace was unlocked by the handling acpi_ns* function, so we
         * just free the pathname and return
@@ -486,7 +486,7 @@ acpi_ns_exec_module_code(union acpi_operand_object *method_obj,
                parent_node->type = (u8)type;
        }
 
-      exit:
+exit:
        if (parent_obj) {
                acpi_ut_remove_reference(parent_obj);
        }
index dd2ceae3f7177aff169e56391292794c0651a74c..3a0423af968cb7e0e57313d91c4dadcadb1cfaac 100644 (file)
@@ -213,7 +213,7 @@ acpi_status acpi_ns_initialize_devices(void)
 
        return_ACPI_STATUS(status);
 
-      error_exit:
+error_exit:
        ACPI_EXCEPTION((AE_INFO, status, "During device initialization"));
        return_ACPI_STATUS(status);
 }
index 0a7badc3179f089d8f09b886547961f91e16b8d6..89ec645e7730ac6765c8013d82d08c51947da550 100644 (file)
@@ -114,7 +114,7 @@ acpi_ns_load_table(u32 table_index, struct acpi_namespace_node *node)
                (void)acpi_tb_release_owner_id(table_index);
        }
 
-      unlock:
+unlock:
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
 
        if (ACPI_FAILURE(status)) {
index 35dde8151c0d14fdec6cdd68eb55c69506d2b1fb..177857340271c4775a26e772df6e29d2c1e8d5ae 100644 (file)
@@ -140,7 +140,7 @@ acpi_ns_one_complete_parse(u32 pass_number,
                          pass_number));
        status = acpi_ps_parse_aml(walk_state);
 
-      cleanup:
+cleanup:
        acpi_ps_delete_parse_tree(parse_root);
        return_ACPI_STATUS(status);
 }
index 098e7666cbc9450ecae2a92fa605425b3346b9c3..d2855d9857c48e84a0149eaccbd5208dad2a6536 100644 (file)
@@ -271,7 +271,7 @@ acpi_ns_check_object_type(struct acpi_evaluate_info *info,
                return (AE_OK); /* Successful repair */
        }
 
-      type_error_exit:
+type_error_exit:
 
        /* Create a string with all expected types for this predefined object */
 
index 6d55cef7916c4ba4715a9108697073822edc48ec..3d5391f9bcb5561ffa888407271dd64d2fcb026c 100644 (file)
@@ -330,7 +330,7 @@ acpi_ns_check_package(struct acpi_evaluate_info *info,
 
        return (status);
 
-      package_too_small:
+package_too_small:
 
        /* Error exit for the case with an incorrect package count */
 
@@ -555,7 +555,7 @@ acpi_ns_check_package_list(struct acpi_evaluate_info *info,
 
        return (AE_OK);
 
-      package_too_small:
+package_too_small:
 
        /* The sub-package count was smaller than required */
 
index f8e71ea60319b21b6c014c88c69efc0b5a2dc751..a05afff50eb9cc6e9e515ef745fb8b0ae8fd7779 100644 (file)
@@ -263,7 +263,7 @@ acpi_ns_simple_repair(struct acpi_evaluate_info *info,
 
        return (AE_AML_OPERAND_TYPE);
 
-      object_repaired:
+object_repaired:
 
        /* Object was successfully repaired */
 
index c84603ee83ae084312f3936324a1bfb524b64f08..6a25d320b169ea9671385a0c825ecf9dadd290d9 100644 (file)
@@ -478,7 +478,7 @@ acpi_ns_repair_CST(struct acpi_evaluate_info *info,
                        removing = TRUE;
                }
 
-             remove_element:
+remove_element:
                if (removing) {
                        acpi_ns_remove_element(return_object, i + 1);
                        outer_element_count--;
index 08c0b5beec888c65ea0d175f2795bb1be0f95227..cc2fea94c5f0939fcbfe87c676c0e869171a14f5 100644 (file)
@@ -722,7 +722,7 @@ acpi_ns_get_node(struct acpi_namespace_node *prefix_node,
 
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
 
-      cleanup:
+cleanup:
        ACPI_FREE(internal_path);
        return_ACPI_STATUS(status);
 }
index ce2a84575a362bf0b138d23091b664e4660e718a..e973e311f856597fcb9474ea9f7eabaa0a76b1da 100644 (file)
@@ -442,7 +442,7 @@ acpi_evaluate_object(acpi_handle handle,
                acpi_ex_exit_interpreter();
        }
 
-      cleanup:
+cleanup:
 
        /* Free the input parameter list (if we created one) */
 
@@ -618,10 +618,10 @@ acpi_walk_namespace(acpi_object_type type,
                                        descending_callback, ascending_callback,
                                        context, return_value);
 
-      unlock_and_exit2:
+unlock_and_exit2:
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
 
-      unlock_and_exit:
+unlock_and_exit:
        (void)acpi_ut_release_read_lock(&acpi_gbl_namespace_rw_lock);
        return_ACPI_STATUS(status);
 }
@@ -865,7 +865,7 @@ acpi_attach_data(acpi_handle obj_handle,
 
        status = acpi_ns_attach_data(node, handler, data);
 
-      unlock_and_exit:
+unlock_and_exit:
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
        return (status);
 }
@@ -911,7 +911,7 @@ acpi_detach_data(acpi_handle obj_handle, acpi_object_handler handler)
 
        status = acpi_ns_detach_data(node, handler);
 
-      unlock_and_exit:
+unlock_and_exit:
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
        return (status);
 }
@@ -958,7 +958,7 @@ acpi_get_data(acpi_handle obj_handle, acpi_object_handler handler, void **data)
 
        status = acpi_ns_get_attached_data(node, handler, data);
 
-      unlock_and_exit:
+unlock_and_exit:
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
        return (status);
 }
index 3a6d78a3f64ea9404dff1434d06bd4a8120545bb..3a4bd3ff49a365827f2bc70dff2250c40082ea19 100644 (file)
@@ -209,7 +209,7 @@ acpi_get_name(acpi_handle handle, u32 name_type, struct acpi_buffer * buffer)
        ((char *)buffer->pointer)[ACPI_NAME_SIZE] = 0;
        status = AE_OK;
 
-      unlock_and_exit:
+unlock_and_exit:
 
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
        return (status);
@@ -497,7 +497,7 @@ acpi_get_object_info(acpi_handle handle,
        *return_buffer = info;
        status = AE_OK;
 
-      cleanup:
+cleanup:
        if (hid) {
                ACPI_FREE(hid);
        }
index 94e961cf629422f4f17d82272886796493129632..0e6d79e462d4f8c7233dc77ad37ad6f893faaea9 100644 (file)
@@ -201,7 +201,7 @@ acpi_status acpi_get_parent(acpi_handle handle, acpi_handle * ret_handle)
                status = AE_NULL_ENTRY;
        }
 
-      unlock_and_exit:
+unlock_and_exit:
 
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
        return (status);
@@ -281,7 +281,7 @@ acpi_get_next_object(acpi_object_type type,
                *ret_handle = ACPI_CAST_PTR(acpi_handle, node);
        }
 
-      unlock_and_exit:
+unlock_and_exit:
 
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
        return (status);
index 86198a9139b52a653d24d6758ba63ed0d04df800..79d9a28dedefe4fd6c69fdae5291a3c51106e5e6 100644 (file)
@@ -297,7 +297,7 @@ acpi_ps_complete_this_op(struct acpi_walk_state * walk_state,
                        }
        }
 
-      cleanup:
+cleanup:
 
        /* Now we can actually delete the subtree rooted at Op */
 
index 11b99ab20bb3a3c1a96cd5322149a4fefe7fbb4a..fcb7a840e996bdee6a3db496a296e44edd54d6f0 100644 (file)
@@ -142,7 +142,7 @@ static void acpi_ps_start_trace(struct acpi_evaluate_info *info)
                acpi_dbg_layer = acpi_gbl_trace_dbg_layer;
        }
 
-      exit:
+exit:
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
 }
 
@@ -185,7 +185,7 @@ static void acpi_ps_stop_trace(struct acpi_evaluate_info *info)
        acpi_dbg_level = acpi_gbl_original_dbg_level;
        acpi_dbg_layer = acpi_gbl_original_dbg_layer;
 
-      exit:
+exit:
        (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
 }
 
@@ -323,7 +323,7 @@ acpi_status acpi_ps_execute_method(struct acpi_evaluate_info *info)
 
        /* walk_state was deleted by parse_aml */
 
-      cleanup:
+cleanup:
        acpi_ps_delete_parse_tree(op);
 
        /* End optional tracing */
index 80d12994e0d078f10b8842d6c5ee3d8a4c965c35..c99cec9cefdec4ee20305ed6e5ff578b60960f58 100644 (file)
@@ -440,7 +440,7 @@ acpi_rs_convert_aml_to_resource(struct acpi_resource *resource,
                info++;
        }
 
-      exit:
+exit:
        if (!flags_mode) {
 
                /* 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,
                info++;
        }
 
-      exit:
+exit:
        return_ACPI_STATUS(AE_OK);
 }
 
index 480b6b40c5eaa3527ce58b4f76f2b8a23b16db97..aef303d56d86fecc84e397cad3c24280a874dbb4 100644 (file)
@@ -784,7 +784,7 @@ acpi_rs_set_srs_method_data(struct acpi_namespace_node *node,
 
        acpi_ut_remove_reference(args[0]);
 
-      cleanup:
+cleanup:
        ACPI_FREE(info);
        return_ACPI_STATUS(status);
 }
index 9e6788f9ba0ff5865bd2caeac1d05918c407fa11..634357d51fe9b4a30103f5cb1169a97d1da72b7f 100644 (file)
@@ -231,10 +231,10 @@ acpi_tb_add_table(struct acpi_table_desc *table_desc, u32 *table_index)
                goto release;
        }
 
-      print_header:
+print_header:
        acpi_tb_print_table_header(table_desc->address, table_desc->pointer);
 
-      release:
+release:
        (void)acpi_ut_release_mutex(ACPI_MTX_TABLES);
        return_ACPI_STATUS(status);
 }
@@ -306,7 +306,7 @@ struct acpi_table_header *acpi_tb_table_override(struct acpi_table_header
 
        return (NULL);          /* There was no override */
 
-      finish_override:
+finish_override:
 
        ACPI_INFO((AE_INFO,
                   "%4.4s %p %s table override, new table: %p",
index bffdfc7b832254068378320a94385abdd359c715..43ffe21c7b2609ff38593b16d059f85011745044 100644 (file)
@@ -350,7 +350,7 @@ acpi_tb_install_table(acpi_physical_address address,
                acpi_tb_delete_table(table_desc);
        }
 
-      unmap_and_exit:
+unmap_and_exit:
 
        /* Always unmap the table header that we mapped above */
 
index 2ad853275e39d2b2b4cb1b3319a37c0b150d3cae..bbaad5c4e2cd28787a8d4a22c27e663199d81552 100644 (file)
@@ -466,7 +466,7 @@ acpi_install_table_handler(acpi_table_handler handler, void *context)
        acpi_gbl_table_handler = handler;
        acpi_gbl_table_handler_context = context;
 
-      cleanup:
+cleanup:
        (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS);
        return_ACPI_STATUS(status);
 }
@@ -507,7 +507,7 @@ acpi_status acpi_remove_table_handler(acpi_table_handler handler)
 
        acpi_gbl_table_handler = NULL;
 
-      cleanup:
+cleanup:
        (void)acpi_ut_release_mutex(ACPI_MTX_EVENTS);
        return_ACPI_STATUS(status);
 }
index 2620dbe96cfa7756d4f06fbacff02eea0760770c..5a2202495b0fbc1c83dc2b75f355421edecf3794 100644 (file)
@@ -201,7 +201,7 @@ static acpi_status acpi_tb_load_namespace(void)
 
        ACPI_INFO((AE_INFO, "All ACPI Tables successfully acquired"));
 
-      unlock_and_exit:
+unlock_and_exit:
        (void)acpi_ut_release_mutex(ACPI_MTX_TABLES);
        return_ACPI_STATUS(status);
 }
@@ -269,7 +269,7 @@ acpi_status acpi_load_table(struct acpi_table_header *table)
                                             acpi_gbl_table_handler_context);
        }
 
-      unlock_and_exit:
+unlock_and_exit:
        (void)acpi_ut_release_mutex(ACPI_MTX_INTERPRETER);
        return_ACPI_STATUS(status);
 }
index 1731c27c36a682e5d47beba328096ff9c633043a..edff4e653d9a06f3b9312c6512ca2a937c9ab0e6 100644 (file)
@@ -552,7 +552,7 @@ acpi_ut_copy_esimple_to_isimple(union acpi_object *external_object,
        *ret_internal_object = internal_object;
        return_ACPI_STATUS(AE_OK);
 
-      error_exit:
+error_exit:
        acpi_ut_remove_reference(internal_object);
        return_ACPI_STATUS(AE_NO_MEMORY);
 }
@@ -899,7 +899,7 @@ acpi_ut_copy_ielement_to_ielement(u8 object_type,
 
        return (status);
 
-      error_exit:
+error_exit:
        acpi_ut_remove_reference(target_object);
        return (status);
 }
index d6b33f29d32754a50eef108ce1287b59886b013b..c07d2227ea42587937ecf7bf37d88e91a6f65a66 100644 (file)
@@ -649,7 +649,7 @@ acpi_ut_update_object_reference(union acpi_operand_object *object, u16 action)
 
        return (AE_OK);
 
-      error_exit:
+error_exit:
 
        ACPI_EXCEPTION((AE_INFO, status,
                        "Could not update object reference count"));
index 4fd68971019bdd69bcdf5ede57e26abaea3bf09f..16fb90506db72ea16d0e9bf81696bba1d9c4ccfa 100644 (file)
@@ -181,7 +181,7 @@ acpi_ut_evaluate_object(struct acpi_namespace_node *prefix_node,
 
        *return_desc = info->return_object;
 
-      cleanup:
+cleanup:
        ACPI_FREE(info);
        return_ACPI_STATUS(status);
 }
index fa69071db4181dc100e3242053756944590679f8..bfca7b4b6731621016b11996d5a8158ecb0f825d 100644 (file)
@@ -184,7 +184,7 @@ acpi_ut_execute_SUB(struct acpi_namespace_node *device_node,
        sub->length = length;
        *return_id = sub;
 
-      cleanup:
+cleanup:
 
        /* On exit, we must delete the return object */
 
index 835340b26d3742e8a593557d5e8dd9ed424518e5..eb3aca761369c2ccb30d2d0c4465f107fa5da389 100644 (file)
@@ -148,7 +148,7 @@ acpi_status acpi_ut_allocate_owner_id(acpi_owner_id * owner_id)
        ACPI_ERROR((AE_INFO,
                    "Could not allocate new OwnerId (255 max), AE_OWNER_ID_LIMIT"));
 
-      exit:
+exit:
        (void)acpi_ut_release_mutex(ACPI_MTX_CACHES);
        return_ACPI_STATUS(status);
 }
index cb7fa491decf6ab7665091aa56ed0b3ec470ed5a..2c2accb9e53494fde7c60fe580a2cc267e99528c 100644 (file)
@@ -643,7 +643,7 @@ acpi_ut_validate_resource(struct acpi_walk_state *walk_state,
 
        return (AE_OK);
 
-      invalid_resource:
+invalid_resource:
 
        if (walk_state) {
                ACPI_ERROR((AE_INFO,
@@ -652,7 +652,7 @@ acpi_ut_validate_resource(struct acpi_walk_state *walk_state,
        }
        return (AE_AML_INVALID_RESOURCE_TYPE);
 
-      bad_resource_length:
+bad_resource_length:
 
        if (walk_state) {
                ACPI_ERROR((AE_INFO,
index 5ef41ffcf57529245c4b995b3cea64f939ec44aa..45c0eb26b33d5ade96f7d8d6d4f83fd7747ff88b 100644 (file)
@@ -310,7 +310,7 @@ acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer)
 
        /* All done, normal exit */
 
-      all_done:
+all_done:
 
        ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "Converted value: %8.8X%8.8X\n",
                          ACPI_FORMAT_UINT64(return_value)));
@@ -318,7 +318,7 @@ acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 *ret_integer)
        *ret_integer = return_value;
        return_ACPI_STATUS(AE_OK);
 
-      error_exit:
+error_exit:
        /* Base was set/validated above */
 
        if (base == 10) {
index 77e3eb7d7c04c5b1c6454cb124930da845999150..c0027773cccb250b4d40ea0f5c7621ec6b98ba98 100644 (file)
@@ -430,7 +430,7 @@ acpi_ut_track_allocation(struct acpi_debug_mem_block *allocation,
                element->next = allocation;
        }
 
-      unlock_and_exit:
+unlock_and_exit:
        status = acpi_ut_release_mutex(ACPI_MTX_MEMORY);
        return_ACPI_STATUS(status);
 }