Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp542818pxb; Thu, 9 Sep 2021 06:47:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwQUGXrvNwWGCIHj33oFYw/YerbkSD4BFQNCF/x5YS0iQC8RiEludRL6rtxxVROMy5pZON X-Received: by 2002:a02:9082:: with SMTP id x2mr2895003jaf.44.1631195266613; Thu, 09 Sep 2021 06:47:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631195266; cv=none; d=google.com; s=arc-20160816; b=fLhgwJdKiK++aAXRnV+m3r3daOX9+ktZSTNWXJZMHrAKsjraf1Cu8fnaI2mS4w1V2z lbnQaWTS7jlDGC3/ll4r9mGAc8kNr6bhOupZ/1LzpRm64inMP7sVrxYEnXVI9a0ZFFWU l/eQtYU518PyaRpxdIib6hq0SPnp4B9PrjFKbtPdtKNSrpQhdtjg+0fRc10w6J0hPdTd PxQzcnFpewdDW+tQNtJflCtX8G8pgahqQLgS1iporrwj2Bfumm3VUq9epvYbmYfGxOL/ iCIAFQ5dbeglANnW8W9ZWEd7ohIoFMU1XyBmQpTt/RD9iBOCxQRgQstp9NZYvAGHDGJl +bYg== 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 :dkim-signature; bh=FV/NhvCvPNS7EaqemeG4A7BTQBulYhqvxsqUoSpc6xs=; b=GxxUD/v+zZmDRrNKu8qaj5BL9itzcn0WN6LYf9iB2YA1eRYgUQbDCieBkD7EnTcp33 RXqvfwlE3VPGdSipLVl4q0QCmf/zluxtB4+/7fxjYFrb/mZFVxb4/644IzP3GA3mEGaJ zT7dZJxfgHSCNGZqA083ecAFA+VyMRSKtPIEbJe7wA2ycP589KB5xH8L7oD1RzAqI6EB lWT2uZTICQkBpSIGZqQj+jp3r/bx+vWo3RKUITY0lEM/SYh3icGm3MPEI89ROJQs54G6 V54aBQOsWIRdURVwzd5quRQrKN+7WDpOZ5D+L0djnir+3uZj/yiZCmbkku/HcWpYYm6n UCCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JWOM08ob; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q35si1629943jac.78.2021.09.09.06.47.33; Thu, 09 Sep 2021 06:47:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JWOM08ob; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355107AbhIINqr (ORCPT + 99 others); Thu, 9 Sep 2021 09:46:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:42578 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349786AbhIIMrk (ORCPT ); Thu, 9 Sep 2021 08:47:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CCBB66023D; Thu, 9 Sep 2021 11:56:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631188595; bh=edGT4Irk0qRRxz1aFw3ZU8mSGoAf1jvEj3/8scOdMvY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JWOM08obbpocLfZR96bNS4GftxHW1jt8EMmIerJCyLPGbJWKqr6K20TD5ZJ6Sztrk AW/4XlNDL78IMSuxW35E4DeW8/U40EuM1G1EYN4pyV81ufhEIGr6rxh7YJS1wsIiZw 7CeONqFh9nGJ/qH8TwVMx+BcNExx/JncohxdtPcQ1kWglhRflEVQ3mG7JBXHEEaail V5IvdzaIBYl5yoL7a06DWwbBCQLpeju1oPOAeMp34JH2ZiZ8OnWkyX8biAEHkC+oJV SnuJey0eoFtEUrcMqBWKJHhAPLVMXgo1o62umtbtTivo+1eMX8k09Y5UUxLpYQSYnD NJC4UXLgPq3bw== 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.4 069/109] ACPICA: iASL: Fix for WPBT table with no command-line arguments Date: Thu, 9 Sep 2021 07:54:26 -0400 Message-Id: <20210909115507.147917-69-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909115507.147917-1-sashal@kernel.org> References: <20210909115507.147917-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-kernel@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 7a58c10ce421..59965982879b 100644 --- a/include/acpi/actbl3.h +++ b/include/acpi/actbl3.h @@ -671,6 +671,10 @@ struct acpi_table_wpbt { u16 arguments_length; }; +struct acpi_wpbt_unicode { + u16 *unicode_string; +}; + /******************************************************************************* * * WSMT - Windows SMM Security Migrations Table -- 2.30.2