Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp451980pxb; Thu, 9 Sep 2021 04:56:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrrT+bUE0t4r2PuhtTU1bDdaSjcoxXBV3M2p2DP1Q+t3vmE3JNAuDEAwlzeZVuStKo3dpd X-Received: by 2002:a92:4b04:: with SMTP id m4mr1445735ilg.262.1631188571415; Thu, 09 Sep 2021 04:56:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631188571; cv=none; d=google.com; s=arc-20160816; b=Hq32Ip5GROf2OHb27xIDxQSdQoEfs0mAfPcSRswAft/NMEuXaEr6CJ36L/EFiDZoDN Yl7wXYUYn7E+vg5+54vAbXxrPCnpsKsMulK8NuON7zpVTrkx5rImTPBWrD+lTIOfVOGX 44dv78kTuH8i2H0eubVyXYyfdlBEapoPqtYm/SeGfJ2nUbZs4wcg3vKXXOJnJMfLk3E/ nuchWYd0L/ThHLaWddOeGIJE1c7yurzsny706YlyCOoUoJ7o4RLy8ZmNQP6/MlIsktsd +flnRJyv/c8h07ozmmCeRmJlFaGFrRkI5fMWd+H3uiyR03nJJ1/OimkPyukS4cNSsakq mN/w== 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=rG3XFr8QHhGl52XLFqovVNM7U1RvN71ksUONOU+A5Mg=; b=whMGy6d3QzYqUqda6WTwGJw2Qww7jLov1o6k8IMqjvMXAc+YNq7KJsoGvunVgPahO/ Slx/rOVluWzmV6ioGlewkU+EockJpTOonXcokX4aTwv+QyocaQ6wgeha8aNgZT8Vfxw3 M0vwcsvdBQvZLyKYkmwmFyt4yjgvflNc/IwVg4VCzIDo9K6TbKFm2ffgDRpM/43Zz8R2 OHZ3HKeDZ/JpIpNwbTyY8ZkXpguSJhgs4QrtiLVP0KX5A0qi3uEV2kKXEhKs2pvYx/Uv uXvnb+f2onxcLbBlp28NkrhEKlQUFKhYXWvPQQpGS3gDXdONORMEZa+rFqwZnR2ZerpO Q8sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ju4jIkOy; 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 a23si1430136ioh.18.2021.09.09.04.55.59; Thu, 09 Sep 2021 04:56:11 -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=ju4jIkOy; 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 S240986AbhIIL4Y (ORCPT + 99 others); Thu, 9 Sep 2021 07:56:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:55596 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243171AbhIILx1 (ORCPT ); Thu, 9 Sep 2021 07:53:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E57AE6137F; Thu, 9 Sep 2021 11:44:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631187874; bh=GwkVGY/SkE9KPdkryB05t9hJVoEYfjl1SB8+N5pGiCI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ju4jIkOyeVQqy3eW+TFi9qsnM2OpZU3DP+k18S13nUGVVolIzh7IItozCMMn+Azlc +G8t2HXUtHFctU7Fr09azaKa+maoiSFvGBJWmV9vxDZ9vk1WpE9vKMm9Y1FtsGuevZ IlOI3edl0Fuzc5sFxEcVLOh5InSQqRDK39GkjJm5K6BvhFk4UO7ga276cfL7XRyXoJ 5b0krqxGOpt2CAlQ40ZcaBG39bHbHvLyus7FZ9hP4xn+JODYuEKvpK20014GAkN5bk UKVs9oEqi409JjrOHDy/UBeOeTiZDdy871EJ6+xN92f/lbcKOo7NfaA0LTCZ7Dzsr3 wh4Rw43+oMnTQ== 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.14 159/252] ACPICA: iASL: Fix for WPBT table with no command-line arguments Date: Thu, 9 Sep 2021 07:39:33 -0400 Message-Id: <20210909114106.141462-159-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909114106.141462-1-sashal@kernel.org> References: <20210909114106.141462-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 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