Message ID | 4818517.GXAFRqVoOG@kreacher |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp344097vqo; Wed, 5 Apr 2023 07:19:55 -0700 (PDT) X-Google-Smtp-Source: AKy350YHC4qQ+a4gba98s/vFFD3SvxZa37vVdQOn5sWpTXGzK4CzkwKN+maWqC2QAUYCHmNsSCsj X-Received: by 2002:a05:6a20:a894:b0:d6:7264:f44e with SMTP id ca20-20020a056a20a89400b000d67264f44emr4699205pzb.3.1680704395248; Wed, 05 Apr 2023 07:19:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680704395; cv=none; d=google.com; s=arc-20160816; b=Ap3drRox6kiMJ/sz44KEeB4S/FDAGTa7KLirfsHiZTv5+zmhEkXalDkOzl9U9qnvaW bLewToyRgJUgnbM+lR0YBh/SGMe1WoEryB/jfRJ0daIPtWgb5Y6ehjFk22aQJBkzXqr8 8HxRZ+vQ7BGnz1CBeYak6hUZTatXpIbVpAh7QVZxsZCsnMYTUG/+g0b0rpiqBrjzQZFm n2FVUIle2++9TCY2JKDqW7VIaWV1bz5g5+2fsRtLMpFW7YkTOLBs3LGjdffLFFG/UpmF S7KaMaaFxzkRG7+PyMnX1M2v6eycDHTi7qbtQQGx4Hv/uX7RtivjMj6aNdD1E/2hRUYk OvbA== 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=3d0gHGFyDgi/EH3tVLp5MHiQ1g5s1cZ8XJbW7EC7rsE=; b=n2RQTOyx83k66msgdoKY+fqWfn0W/ZNciZs0V/kgX0nP9Hw0p1JVt3Lgk2UyLUoaq+ PDeR+fl1H+/AHcstAQrUsZzBQ8jxPE26wbj8lI+/En8LrIhbm7dNYXeQvbHpDu8K2jM9 Wh8XmBJl61PFfskDFyoMpB6MKEl09UoGem0c0R5ozk3bn3R6sh0UrKh4tsnz4WRs3iQE r8jD0Y2BVM95N+m1RII/bxmevJVMD1SpCP7tEFfKdJDaMm5NKKjBq2Sw6NUWayRnXVlA E8Hyj6sWQOb+iQY4hIc20/9YcBSRGJY1qI1tY4znebVeOpNpDxSZLKzyQn0g+ig4Ceyw 0BWQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c134-20020a621c8c000000b0062ae6345c78si12632441pfc.403.2023.04.05.07.19.41; Wed, 05 Apr 2023 07:19:55 -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 S238473AbjDEOFZ (ORCPT <rfc822;lkml4gm@gmail.com> + 99 others); Wed, 5 Apr 2023 10:05:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238472AbjDEOEn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 5 Apr 2023 10:04:43 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FF0876A3; Wed, 5 Apr 2023 07:02:07 -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.1.0) id 2e12dc83af149271; Wed, 5 Apr 2023 16:01:33 +0200 Received: from kreacher.localnet (unknown [213.134.163.219]) (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 512971B4EA6F; Wed, 5 Apr 2023 16:01:32 +0200 (CEST) From: "Rafael J. Wysocki" <rjw@rjwysocki.net> To: Linux ACPI <linux-acpi@vger.kernel.org> Cc: LKML <linux-kernel@vger.kernel.org>, Bob Moore <robert.moore@intel.com> Subject: [PATCH 01/32] ACPICA: Headers: Delete bogus node_array array of pointers from AEST table Date: Wed, 05 Apr 2023 15:32:06 +0200 Message-ID: <4818517.GXAFRqVoOG@kreacher> In-Reply-To: <4845957.31r3eYUQgx@kreacher> References: <4845957.31r3eYUQgx@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 213.134.163.219 X-CLIENT-HOSTNAME: 213.134.163.219 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdejuddgjedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepledtieekkeekveeikeetgffgteeuteefjeevjeegudelvdduheeiuedvieehieevnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepvddufedrudefgedrudeifedrvdduleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvudefrddufeegrdduieefrddvudelpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeefpdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheprhhosggvrhhtrdhmohhorhgvsehinhhtvghlrdgtohhm X-DCC--Metrics: v370.home.net.pl 1024; Body=3 Fuz1=3 Fuz2=3 X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762346291936328680?= X-GMAIL-MSGID: =?utf-8?q?1762346291936328680?= |
Series |
ACPICA: ACPICA 20230331
|
|
Commit Message
Rafael J. Wysocki
April 5, 2023, 1:32 p.m. UTC
From: Jessica Clarke <jrtc27@jrtc27.com> ACPICA commit f0c4a06f1dfc4886d4e0c2aa30bc57b10c5a8c53 Like many tables, this is a header followed by multiple subtables of varying self-identifying types, and ACPICA does not normally add a field for the subtables, instead relying on pointer arithmetic past the end of the first header struct, since indexing a flexible array member is meaningless for variable-length entries. If we really wanted a field for this, we could use a u8 flexible array member, but it contradicts the current style. Using void *, however, is categorically wrong, as ACPI tables never contain native C-language pointers. Link: https://github.com/acpica/acpica/commit/f0c4a06f Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> --- include/acpi/actbl2.h | 1 - 1 file changed, 1 deletion(-)
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index b2973dbe37ee..2e7e0d5674f6 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h @@ -82,7 +82,6 @@ struct acpi_table_aest { struct acpi_table_header header; - void *node_array[]; }; /* Common Subtable header - one per Node Structure (Subtable) */