From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-24.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65D16C4321E for ; Thu, 9 Sep 2021 12:22:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4D1C2611BF for ; Thu, 9 Sep 2021 12:22:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241605AbhIIMXx (ORCPT ); Thu, 9 Sep 2021 08:23:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:52716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349041AbhIIMQJ (ORCPT ); Thu, 9 Sep 2021 08:16:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D9D9F61A35; Thu, 9 Sep 2021 11:49:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631188178; bh=GwkVGY/SkE9KPdkryB05t9hJVoEYfjl1SB8+N5pGiCI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=t8O55q7C80w8VvEHrLNz1ICCtM3GNXzo2NEo6Cva8TAk3HGCJ91f/UgyquVM5qOX1 iu7J+FFdIxNPBNMJ+9pXDpS4gjmoZo6fKx7O7n5xA4wwx443xGgWFaJpcI0sY3rTDv AO/JbOstdj/0wB9In/LR242ljHxVDRDSrJGdbdq3Apw/5tBR9bL+3QZbln2P/S8MTi kJSzlsHBBG4+EjCXFva8SqP5QS8OonWCooozts7qyxZ9xD1euaMuNGs1dyzb0vboVB r8cmSOBu7j5DG4Rn2X+m6OAHnnwvyghevirF2I7uaxMBCBOzSdlm0WSb8zv33t00Y5 LV9mgrPUi3wHw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Bob Moore , "Rafael J . Wysocki" , Sasha Levin , linux-acpi@vger.kernel.org, devel@acpica.org Subject: [PATCH AUTOSEL 5.13 141/219] ACPICA: iASL: Fix for WPBT table with no command-line arguments Date: Thu, 9 Sep 2021 07:45:17 -0400 Message-Id: <20210909114635.143983-141-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909114635.143983-1-sashal@kernel.org> References: <20210909114635.143983-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: Bob Moore [ Upstream commit 87b8ec5846cb81747088d1729acaf55a1155a267 ] Handle the case where the Command-line Arguments table field does not exist. ACPICA commit d6487164497fda170a1b1453c5d58f2be7c873d6 Link: https://github.com/acpica/acpica/commit/d6487164 Signed-off-by: Bob Moore Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- include/acpi/actbl3.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/acpi/actbl3.h b/include/acpi/actbl3.h index 86903ac5bbc5..9125e2f16329 100644 --- a/include/acpi/actbl3.h +++ b/include/acpi/actbl3.h @@ -723,6 +723,10 @@ struct acpi_table_wpbt { u16 arguments_length; }; +struct acpi_wpbt_unicode { + u16 *unicode_string; +}; + /******************************************************************************* * * WSMT - Windows SMM Security Mitigations Table -- 2.30.2