Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp739881rwl; Wed, 5 Apr 2023 07:09:38 -0700 (PDT) X-Google-Smtp-Source: AKy350bWNp/eTnq4qcWK/YnBF7qwkFOHicTE6BFlEsRmSjRc66gD/+70c7UYMtCmTXajQh/dw2Uj X-Received: by 2002:aa7:9549:0:b0:625:fe95:f120 with SMTP id w9-20020aa79549000000b00625fe95f120mr6049294pfq.8.1680703778167; Wed, 05 Apr 2023 07:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680703778; cv=none; d=google.com; s=arc-20160816; b=RuOztUTgGdub6AkIWM+j+WnWwaTd9POytggnth/+v6JhhD17HsX7kATvtibLTez/ET 5GZ+0cCahtmBZ6j6rjfWEAKqI9jj6feJsXOJfr4ItlaCOsiGTdyChtXWN77YCfgHbOS5 tKV/SjCnoG1ZN3EvKYw5hGIk4ql3Cf60G2Fz+VO8TbpiC+5bGdoypzoeSxSbLlM7PD45 CJL9JretJLVsAER1mQOmhzPuaYzSl0rOAlZhIQbhTuhoJ7LNtaYLX5g5olqSaKXyC6kb Q1dho7Mz6FkNQezkJnuTHNo6GQCswvnOIlnwIkKZs/U66/AXBDKRWtbpE+tANg7bUIbR BQeA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 64-20020a620443000000b005a908acf446si12665789pfe.104.2023.04.05.07.09.23; Wed, 05 Apr 2023 07:09:38 -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 S238470AbjDEOFZ (ORCPT + 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 ); 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" To: Linux ACPI Cc: LKML , Bob Moore 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: X-Mailing-List: linux-kernel@vger.kernel.org From: Jessica Clarke 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 Signed-off-by: Rafael J. Wysocki --- 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) */ -- 2.35.3