Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1853223rwd; Thu, 18 May 2023 19:18:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ64q9h9PYYuJxRLk/8QZOq2i4SdsqWrbc+3lleLtOoYWh5VYDJhpI/aZLNDe6tPxSzeCh32 X-Received: by 2002:a17:90b:164a:b0:253:70b2:1c53 with SMTP id il10-20020a17090b164a00b0025370b21c53mr690210pjb.9.1684462713501; Thu, 18 May 2023 19:18:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684462713; cv=none; d=google.com; s=arc-20160816; b=aA5xQJStlyBeCVd3MYxSS8Pde6NW0AIHJplbX7w0m+BEpKuMBvTpBRVl2dcTYDRvio KYih6EB33gXn3XNnqKvnNIUmMSpvy/5l2HWxQNzA5oFbDPd3CHGHWGo1TPV1pJns4EYV ozAGokeJx4LS/kFXSyMOcqHDJoA/VvcaWf3QtalgQDGSyok+bv/nAEhi23v7zCcK1qvT QgZmQv0FsDUnmSiHu1yvV3Wyb/n7x7ZjjIka9XOMFnVV9upveGAsEMdJR9AdV2mVtjYL 6UY91gH5Eu1MDDae6AAjEh9vXWUNLsRUlTlk9Xwl7ckI9rDV4xsmZF54EbTzcvxQUFm4 92BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=XKMLnWZfv3XwVjt9lbzHMXJCyepLJUwuKylOvP4MsX8=; b=EjSaFsGiYpgy0Y/1hz8vDTPbj0w5kggmDM45DpGmBCPIARjTM++xvcrJYNmNPLob79 WcE7lxIXh4nNLp22TNlvrZXR1k48etuacLZYVm6y35yAAsQFHPp+JQqmCqXxKfsGevoS D6eV2BeDdoCCRQJ5BfHLgXv+JdE7WWWsiiThU9ShF8rb9HYb5dVE+/+ITcscpKED80cp nT+NMNL2HT1KhTLJdChMUs3pMdObVkxZgkDk4M2skDsbfBzRdjMPQfiQ5BP9ssEP71Qv A2473ea/OxuFTm5IoMySEiEWhfXwjwbZ6FXNC8OeTiqgQFlf7L5yI27id7Q+y6JhDGEQ mgDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w70-20020a638249000000b005348464b81fsi1266579pgd.371.2023.05.18.19.18.20; Thu, 18 May 2023 19:18:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229923AbjESCAO (ORCPT + 99 others); Thu, 18 May 2023 22:00:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbjESCAN (ORCPT ); Thu, 18 May 2023 22:00:13 -0400 Received: from mailgw.kylinos.cn (mailgw.kylinos.cn [124.126.103.232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B733B1; Thu, 18 May 2023 19:00:12 -0700 (PDT) X-UUID: 4f119d6a5f4440ccbdf3eff96ed4a29c-20230519 X-CID-O-RULE: Release_Ham X-CID-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.22,REQID:15b1968c-2a15-494c-bc6f-76e4ca7e0b0b,IP:20, URL:0,TC:0,Content:-25,EDM:0,RT:0,SF:-5,FILE:0,BULK:0,RULE:Release_Ham,ACT ION:release,TS:-10 X-CID-INFO: VERSION:1.1.22,REQID:15b1968c-2a15-494c-bc6f-76e4ca7e0b0b,IP:20,UR L:0,TC:0,Content:-25,EDM:0,RT:0,SF:-5,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:-10 X-CID-META: VersionHash:120426c,CLOUDID:c25fa73b-de1e-4348-bc35-c96f92f1dcbb,B ulkID:230519095749JEPZGPDY,BulkQuantity:1,Recheck:0,SF:17|19|44|24|102,TC: nil,Content:0,EDM:-3,IP:-2,URL:0,File:nil,Bulk:40,QS:nil,BEC:nil,COL:0,OSI :0,OSA:0,AV:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-UUID: 4f119d6a5f4440ccbdf3eff96ed4a29c-20230519 X-User: lijun01@kylinos.cn Received: from localhost.localdomain [(210.12.40.82)] by mailgw (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1672911445; Fri, 19 May 2023 10:00:04 +0800 From: lijun To: robert.moore@intel.com, rafael.j.wysocki@intel.com Cc: linux-acpi@vger.kernel.org, evel@acpica.org, linux-kernel@vger.kernel.org Subject: [PATCH] add a new line after ACPI_STATE_COMMON Date: Fri, 19 May 2023 10:00:02 +0800 Message-Id: <20230519020002.1810433-1-lijun01@kylinos.cn> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: lijun Change-Id: Ia3938ed42d2412548f2151f3de9ed6e7b65443af --- drivers/acpi/acpica/aclocal.h | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/drivers/acpi/acpica/aclocal.h b/drivers/acpi/acpica/aclocal.h index 1ea52576f0a2..019eb5eff414 100644 --- a/drivers/acpi/acpica/aclocal.h +++ b/drivers/acpi/acpica/aclocal.h @@ -564,14 +564,16 @@ ACPI_STATE_COMMON}; * Update state - used to traverse complex objects such as packages */ struct acpi_update_state { - ACPI_STATE_COMMON union acpi_operand_object *object; + ACPI_STATE_COMMON + union acpi_operand_object *object; }; /* * Pkg state - used to traverse nested package structures */ struct acpi_pkg_state { - ACPI_STATE_COMMON u32 index; + ACPI_STATE_COMMON + u32 index; union acpi_operand_object *source_object; union acpi_operand_object *dest_object; struct acpi_walk_state *walk_state; @@ -584,7 +586,8 @@ struct acpi_pkg_state { * Allows nesting of these constructs */ struct acpi_control_state { - ACPI_STATE_COMMON u16 opcode; + ACPI_STATE_COMMON + u16 opcode; union acpi_parse_object *predicate_op; u8 *aml_predicate_start; /* Start of if/while predicate */ u8 *package_end; /* End of if/while block */ @@ -595,11 +598,13 @@ struct acpi_control_state { * Scope state - current scope during namespace lookups */ struct acpi_scope_state { - ACPI_STATE_COMMON struct acpi_namespace_node *node; + ACPI_STATE_COMMON + struct acpi_namespace_node *node; }; struct acpi_pscope_state { - ACPI_STATE_COMMON u32 arg_count; /* Number of fixed arguments */ + ACPI_STATE_COMMON + u32 arg_count; /* Number of fixed arguments */ union acpi_parse_object *op; /* Current op being parsed */ u8 *arg_end; /* Current argument end */ u8 *pkg_end; /* Current package end */ @@ -611,7 +616,8 @@ struct acpi_pscope_state { * states are created when there are nested control methods executing. */ struct acpi_thread_state { - ACPI_STATE_COMMON u8 current_sync_level; /* Mutex Sync (nested acquire) level */ + ACPI_STATE_COMMON + u8 current_sync_level; /* Mutex Sync (nested acquire) level */ struct acpi_walk_state *walk_state_list; /* Head of list of walk_states for this thread */ union acpi_operand_object *acquired_mutex_list; /* List of all currently acquired mutexes */ acpi_thread_id thread_id; /* Running thread ID */ @@ -645,7 +651,8 @@ struct acpi_global_notify_handler { * handler/dispatcher. */ struct acpi_notify_info { - ACPI_STATE_COMMON u8 handler_list_id; + ACPI_STATE_COMMON + u8 handler_list_id; struct acpi_namespace_node *node; union acpi_operand_object *handler_list_head; struct acpi_global_notify_handler *global; -- 2.25.1