Received: by 2002:ab2:23c8:0:b0:1f2:fdbc:cb93 with SMTP id a8csp58890lqe; Tue, 26 Mar 2024 20:45:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMoi/DfsCe5wBwj0kuAV9eA8rHt7bjDvIiKIT3NgP0LlmqoNKgB1PZjeWCzgtBQO4NWSiSWg8+aWcySUv2CUiQpgMaieAeAITt3fKddw== X-Google-Smtp-Source: AGHT+IGGbE1oqf87O3EDzHGS6Y2RRd/dmTTn4dYYCmWoLOWNJrfywGLgy3NjTX5xK4jajHvhjxMo X-Received: by 2002:a05:6512:3e1b:b0:515:a97d:6396 with SMTP id i27-20020a0565123e1b00b00515a97d6396mr2538594lfv.68.1711511141235; Tue, 26 Mar 2024 20:45:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711511141; cv=pass; d=google.com; s=arc-20160816; b=iyBwG31tFPVs/KVSw8x7PylP4ztDrnCZUTwt4zPq1rt8QUDg25VvOKHGjEA8YhyMxT riXITmQheoQ0USZp9ee/GQw5LWO2YV/pz6RoVJlRHCuCOr1enMcceaZKAcSuN2WpBWdO B0jbL0+Zs9cW1xmE/xJJMZHtwOc+qMhOOUAiUbUh33ihaPXJ2Ir2u965ydDb0jwi1twC aaIRC5+GWoAEJ3E8m3Y2BPUOT6KDZEZwYSjltmcj0oZVtQ7jkP59s+KiOdkQwZEEPMQ3 yh96q/Nsq3YmF181/lSn84Cyqz9fBOeQm9lcOFZytn7+/KIdkDGKPEkacB0cQg9clNd6 122A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=bufF6x1T2H32EvFgYBhPmQfSD25Igr+N5RI/zTUl+yE=; fh=nqy3FOqZLMmZrfQqr8GSLZ5FiMfnXJ5YEy9cMhXFUFc=; b=vPM7gPRxTwyecXcRSpLhIww4Cto6NyLW0BCV8SrgbTUC2Q/g4ltXuXZIX/s7cfmE3z oh+F8IiCJTC6bAtr524KEDB1bpkjW3BL2tWVCtrnUt2ScH6Scxfed/itkDAYClII15QS 6gs39zyiWPWirAB5leFIa7rlzeQtw7y6urgjSDCv64+DrTxXEeu2kZeiCPl7C26vC84J oAYtroYA/Eid9iaNqOtys7X62Q3E5pCwnWfo9KIqBQSytYsP1/y7yAFJKy/cSMXPFCli G5x+wNjOU/fg4y/fANOchFRJ0AGUgkIqTLVE5sZzRziWE+0w4UJtsR7WE8Ng/1AIpZxS GAsg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=KtLz88Md; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-120271-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120271-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id e4-20020a170906314400b00a4df0d7789bsi1442743eje.514.2024.03.26.20.45.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 20:45:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120271-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=KtLz88Md; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-120271-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120271-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id EEA701F2C9A0 for ; Wed, 27 Mar 2024 03:45:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BBC9C249F9; Wed, 27 Mar 2024 03:45:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="KtLz88Md" Received: from out30-119.freemail.mail.aliyun.com (out30-119.freemail.mail.aliyun.com [115.124.30.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B72AD23775; Wed, 27 Mar 2024 03:45:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.119 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711511122; cv=none; b=flBhEBNy2Y9UNZtzZo8KKVtev5YG7GPDkJPIndG26dUI3c1hAy3LAQMgxiQ0oS7Ty+36NJyBFmymaUqbkSkwcHCsT3MAO/hrXDXqqVdl+DG+uWuGNAc21SERVBzm7Qt3WsJkf8Gbx4AerUjWaPDoLZ2P7LYdpdyux5DzyCLQ/jE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711511122; c=relaxed/simple; bh=KuhaToY0pnSer8l7LmdO1BYdg4X1cESqPqxsiTiWM9A=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=S2PCZAkrSXgLCJeR1adjm0uuW6Jsjrs1KosIbd4ByvhRU4HlggET48UbegUH6WHgpGZm8+rHGZMtQC/QuW8S7Rs8nt32TjR1TB8wzytju/91nlWnJDkGPX/2srqTdi7c3n/iydCI/S4BuhxMp7NQR8a4YElnqNTaJc4hVY/HWj4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=KtLz88Md; arc=none smtp.client-ip=115.124.30.119 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1711511111; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=bufF6x1T2H32EvFgYBhPmQfSD25Igr+N5RI/zTUl+yE=; b=KtLz88MdyrJCBlWCzHSFpt3IFadzHK1PindfVMOuRbhOsJHd7pVdT7rT7f0mS5p4scAfvAMhHCOZib3OXf2xL1siU6F5yVC50AygVV9DEQdvK4XoqXiilqb5w7/RLc1Y66wJ+DthO4Q4lS/4aLjdxfRRUTA7j7qHml/wGEUaB9Q= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R161e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=tianruidong@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0W3NLs2o_1711511108; Received: from localhost(mailfrom:tianruidong@linux.alibaba.com fp:SMTPD_---0W3NLs2o_1711511108) by smtp.aliyun-inc.com; Wed, 27 Mar 2024 11:45:11 +0800 From: Ruidong Tian To: robert.moore@intel.com, rafael.j.wysocki@intel.com, lenb@kernel.org Cc: linux-acpi@vger.kernel.org, acpica-devel@lists.linux.dev, linux-kernel@vger.kernel.org, tianruidond@linux.alibaba.com, Ruidong Tian Subject: [PATCH 1/2] ACPICA: AEST: Fix coding style at struct definition Date: Wed, 27 Mar 2024 11:44:59 +0800 Message-Id: <20240327034500.95601-2-tianruidong@linux.alibaba.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20240327034500.95601-1-tianruidong@linux.alibaba.com> References: <20240327034500.95601-1-tianruidong@linux.alibaba.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Delete unnecessary blank lines and typedef to follow Kernel coding style. Signed-off-by: Ruidong Tian --- include/acpi/actbl2.h | 50 +++++++++++++++++-------------------------- 1 file changed, 20 insertions(+), 30 deletions(-) diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index 9775384d61c6..c32e97855031 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h @@ -116,15 +116,14 @@ struct acpi_aest_hdr { /* 0: Processor Error */ -typedef struct acpi_aest_processor { +struct acpi_aest_processor { u32 processor_id; u8 resource_type; u8 reserved; u8 flags; u8 revision; u64 processor_affinity; - -} acpi_aest_processor; +}; /* Values for resource_type above, related structs below */ @@ -135,11 +134,10 @@ typedef struct acpi_aest_processor { /* 0R: Processor Cache Resource Substructure */ -typedef struct acpi_aest_processor_cache { +struct acpi_aest_processor_cache { u32 cache_reference; u32 reserved; - -} acpi_aest_processor_cache; +}; /* Values for cache_type above */ @@ -150,50 +148,44 @@ typedef struct acpi_aest_processor_cache { /* 1R: Processor TLB Resource Substructure */ -typedef struct acpi_aest_processor_tlb { +struct acpi_aest_processor_tlb { u32 tlb_level; u32 reserved; - -} acpi_aest_processor_tlb; +}; /* 2R: Processor Generic Resource Substructure */ -typedef struct acpi_aest_processor_generic { +struct acpi_aest_processor_generic { u32 resource; - -} acpi_aest_processor_generic; +}; /* 1: Memory Error */ -typedef struct acpi_aest_memory { +struct acpi_aest_memory { u32 srat_proximity_domain; - -} acpi_aest_memory; +}; /* 2: Smmu Error */ -typedef struct acpi_aest_smmu { +struct acpi_aest_smmu { u32 iort_node_reference; u32 subcomponent_reference; - -} acpi_aest_smmu; +}; /* 3: Vendor Defined */ -typedef struct acpi_aest_vendor { +struct acpi_aest_vendor { u32 acpi_hid; u32 acpi_uid; u8 vendor_specific_data[16]; - -} acpi_aest_vendor; +}; /* 4: Gic Error */ -typedef struct acpi_aest_gic { +struct acpi_aest_gic { u32 interface_type; u32 instance_id; - -} acpi_aest_gic; +}; /* Values for interface_type above */ @@ -205,7 +197,7 @@ typedef struct acpi_aest_gic { /* Node Interface Structure */ -typedef struct acpi_aest_node_interface { +struct acpi_aest_node_interface { u8 type; u8 reserved[3]; u32 flags; @@ -215,8 +207,7 @@ typedef struct acpi_aest_node_interface { u64 error_record_implemented; u64 error_status_reporting; u64 addressing_mode; - -} acpi_aest_node_interface; +}; /* Values for Type field above */ @@ -226,15 +217,14 @@ typedef struct acpi_aest_node_interface { /* Node Interrupt Structure */ -typedef struct acpi_aest_node_interrupt { +struct acpi_aest_node_interrupt { u8 type; u8 reserved[2]; u8 flags; u32 gsiv; u8 iort_id; u8 reserved1[3]; - -} acpi_aest_node_interrupt; +}; /* Values for Type field above */ -- 2.33.1