Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35731965rwd; Mon, 10 Jul 2023 11:41:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlGe2tk9Jwg3JXcLuSrhRsWspLRSmeSLqkyV/4WzOuNfgnMC6v5F/nw8p40QiW+s7dYwKYOO X-Received: by 2002:a17:906:2205:b0:973:ff8d:2a46 with SMTP id s5-20020a170906220500b00973ff8d2a46mr13553548ejs.3.1689014466703; Mon, 10 Jul 2023 11:41:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689014466; cv=none; d=google.com; s=arc-20160816; b=fNGWn6zZ3sDYz96WyqDscT9UsybA+xWYyiyTC6SDv6hJy9KPZUckHKe4awHGiRa84x CFcfvEWJcbZ/Pwr4KKUYqGcATQpxzm1cGpxLrsbhN0UsdNSYELeGmEy9CgL8eLbvbdq+ ngX6z+VLCEl8wKzt2DaDgxXJtr4qIttInpI3xbCZhPow7b7nvxf/q/hRep1BjNWJrh3K NtRR/LHSir7W5Zfu88i+Sgnbud+lycxdKs5gQgZqnpFHEyVkPnyBSrWd5xXiHmj7NZ+H prx/3kCXN6XGF7Fs+myFMcbu6feYS3WDWcQemeuZFF46s5GsSx4m9d/SVh+iSOGe5VTX spHQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=O+ScQnK/sV9xPpYl/dJJpPRPIfO8yPkFvQkP03EWdzk=; fh=odud58AEZ8dpT9wVpEi49z2KFyKsW9gCOcsWyWRzkG0=; b=nyKH/MXloDudh0/AFM8mkDVeATMVWK5czhWPbCJfmYlqvlejFu9D7gIhRuSEUF+iR/ TGfSXj9Oj4TdPfzXmaFKaP9xZJ/xKIsxjvuFwBOU0rBJ8DlqWDyxSrjzjs0VhiUbWAxr joOmsS2BcXR7HyS1MGp1M70DPZKvx8VF8w8Avt3Y0siKQ59ouwvFjnaBXtDAmqHKhNr0 SYz1kv03GKh+gr+GjTeT47u9PmZcIjttfmMlEU7knPKXPFhN2D6cnX9COVB3H9Ww1Ts/ izwC2kPpTLdvRAx4ThXzOvjQ7O2i93+9gkw+wQ00by++G/HOBtbt/NU+u9UF6n8fi8eI fkww== 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 u16-20020a17090617d000b0098e08768a43si149130eje.408.2023.07.10.11.40.39; Mon, 10 Jul 2023 11:41:06 -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 S232942AbjGJRXr (ORCPT + 99 others); Mon, 10 Jul 2023 13:23:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232429AbjGJRXh (ORCPT ); Mon, 10 Jul 2023 13:23:37 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD4C2C7; Mon, 10 Jul 2023 10:23:36 -0700 (PDT) Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.2.0) id d7984a7ab631e1fc; Mon, 10 Jul 2023 19:23:35 +0200 Received: from kreacher.localnet (unknown [195.136.19.94]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id C8903660DCF; Mon, 10 Jul 2023 19:23:34 +0200 (CEST) From: "Rafael J. Wysocki" To: Linux ACPI Cc: LKML , Bob Moore , Saket Dumbre Subject: [PATCH 10/14] ACPICA: Add a define for size of struct acpi_srat_generic_affinity device_handle Date: Mon, 10 Jul 2023 19:20:14 +0200 Message-ID: <9141577.CDJkKcVGEf@kreacher> In-Reply-To: <5698695.DvuYhMxLoT@kreacher> References: <5698695.DvuYhMxLoT@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 195.136.19.94 X-CLIENT-HOSTNAME: 195.136.19.94 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrvdekgddutdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepledtieekkeekveeikeetgffgteeuteefjeevjeegudelvdduheeiuedvieehieevnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepudelhedrudefiedrudelrdelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleehrddufeeirdduledrleegpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeegpdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheprhhosggvrhhtrdhmohhorhgvsehinhhtvghlrdgtohhmpdhrtghpthhtohepshgrkhgvthdrughumhgsrhgv sehinhhtvghlrdgtohhm X-DCC--Metrics: v370.home.net.pl 1024; Body=4 Fuz1=4 Fuz2=4 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Dave Jiang ACPICA commit be56820b03d8aeabfa6709c4d99bf1711afe7ef1 Replace magic number with a define. Linux kernel code will utilize this define. Link: https://github.com/acpica/acpica/commit/be56820b Signed-off-by: Dave Jiang Signed-off-by: Bob Moore Signed-off-by: Rafael J. Wysocki --- include/acpi/actbl3.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/acpi/actbl3.h b/include/acpi/actbl3.h index 000764ab3985..c080d579a546 100644 --- a/include/acpi/actbl3.h +++ b/include/acpi/actbl3.h @@ -279,12 +279,14 @@ struct acpi_srat_gic_its_affinity { * 6: ACPI_SRAT_TYPE_GENERIC_PORT_AFFINITY */ +#define ACPI_SRAT_DEVICE_HANDLE_SIZE 16 + struct acpi_srat_generic_affinity { struct acpi_subtable_header header; u8 reserved; u8 device_handle_type; u32 proximity_domain; - u8 device_handle[16]; + u8 device_handle[ACPI_SRAT_DEVICE_HANDLE_SIZE]; u32 flags; u32 reserved1; }; -- 2.35.3