Message ID | 2094939.KlZ2vcFHjT@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 b10csp344629vqo; Wed, 5 Apr 2023 07:20:37 -0700 (PDT) X-Google-Smtp-Source: AKy350ZbglqaGqJX5V70AuFWIrI4HrXq5q1mohZtU6XarlC1Q3BSQ90dtpb1+rp8WGzUIuKqzM82 X-Received: by 2002:a17:903:3093:b0:1a1:f5dd:2dd5 with SMTP id u19-20020a170903309300b001a1f5dd2dd5mr5621827plc.13.1680704437458; Wed, 05 Apr 2023 07:20:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680704437; cv=none; d=google.com; s=arc-20160816; b=obBo6Jm9Mc3xusi0LQSDM9764fGw8njXVw+BP8l9OcfzXlmYDOUu3+j6khJRWRHRa4 vOLKl9j1U8bHiWiSlp/USjsTOnEpd9+dHo4kvcrRkid/8BLqVcnkZCZCcTMVge+XhKyU NXeJEdvnpgOPygy75AbjL94S9kWozbY35QkqWMS4NLmLqMdrezXTbk3q04lmX36ZaOUu kctnUAgr6kRK6F9YjT6hUPOuarntZEZWX/XIzGPqWA+sTZdE6vQ0ktZ4cI6bMrnr8Let eOyRYpURq72GqjCTJTWqMPKCEvQgkOZozEon6zKfgVPbVEoHzlJLq6DUN1H0R+AwIIH3 lYOw== 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=8k+ea+emh7/8/N6py13AFOKb8HPDuudO8BKgg0M86zc=; b=waavbvR/62VYXqslYtiLgD0to7ZZbuRe1pCmXOGnA/9ZKuOX39KUf56H6h8lIzJ2kQ Z0b6CHg3wtCRtR/zWVJ3KH+3iu53JBXnrbuCrkBWyMls43IW6ON+Wc0a05ThxIPv5nLi /wsijOw0lSIlWg7Co/sP29i0VyMfmuNUdl2jeczgqe42VrEZ1r1MFFjEpo2dgRM0EX5y DrK673DDZz0d599laLwVB2ir2x9YnRsUY0sPBSsba8XH4hO6j7MW69k9ZWDki5TWO4Ba v5NqtbVIIxphlm10FRrV/1xYMHQhpFJDoCBBuoYG8UkXfaKpH80Hp05joUFCHOoqAGIN 4jPQ== 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 m18-20020a170902db1200b001a1e867f287si12506591plx.460.2023.04.05.07.20.25; Wed, 05 Apr 2023 07:20:37 -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 S238257AbjDEOBB (ORCPT <rfc822;lkml4gm@gmail.com> + 99 others); Wed, 5 Apr 2023 10:01:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238199AbjDEOAq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 5 Apr 2023 10:00:46 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFDBD1BDD; Wed, 5 Apr 2023 07:00:44 -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 942f2422d11c465e; Wed, 5 Apr 2023 16:00:43 +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 8BB6E1B4EA5B; Wed, 5 Apr 2023 16:00:42 +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>, Kees Cook <kees@outflux.net> Subject: [PATCH 28/32] ACPICA: acpi_madt_oem_data: Fix flexible array member definition Date: Wed, 05 Apr 2023 15:56:06 +0200 Message-ID: <2094939.KlZ2vcFHjT@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: gggruggvucftvghtrhhoucdtuddrgedvhedrvdejuddgjeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepledtieekkeekveeikeetgffgteeuteefjeevjeegudelvdduheeiuedvieehieevnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepvddufedrudefgedrudeifedrvdduleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvudefrddufeegrdduieefrddvudelpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeegpdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheprhhosggvrhhtrdhmohhorhgvsehinhhtvghlrdgtohhmpdhrtghpthhtohepkhgvvghssehouhht fhhluhigrdhnvght X-DCC--Metrics: v370.home.net.pl 1024; Body=4 Fuz1=4 Fuz2=4 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?1762346336305724701?= X-GMAIL-MSGID: =?utf-8?q?1762346336305724701?= |
Series |
ACPICA: ACPICA 20230331
|
|
Commit Message
Rafael J. Wysocki
April 5, 2023, 1:56 p.m. UTC
From: Kees Cook <kees@outflux.net> ACPICA commit e7f6d8c1b7f79eb4b9b07f1bc09c549a2acbd6e8 Use ACPI_FLEX_ARRAY() helper to define flexible array member alone in a struct. Fixes issue #812. No binary changes appear in the .text nor .data sections. Link: https://github.com/acpica/acpica/commit/e7f6d8c1 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> --- include/acpi/actbl2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index a51fd4090d27..0029336775a9 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h @@ -1274,7 +1274,7 @@ enum acpi_madt_rintc_version { /* 80: OEM data */ struct acpi_madt_oem_data { - u8 oem_data[0]; + ACPI_FLEX_ARRAY(u8, oem_data); }; /*