Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp517453pxb; Thu, 9 Sep 2021 06:17:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwru1RnReLb7BkRIS5/aDTA/Y2cAjByfkHKKFGjBePu3+2f2oxYf/rSuvLexaLb7TX3cpz3 X-Received: by 2002:a6b:f114:: with SMTP id e20mr2633191iog.41.1631193435468; Thu, 09 Sep 2021 06:17:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631193435; cv=none; d=google.com; s=arc-20160816; b=1IrGIDDQq7IUxvTTl8h6WepihvG5Ou8ajp33QrB5Hu3m9O7KO6LpxYpcd7MefPQaEc txSFmXixPKMf1eeHHS874SgzObNY4zSVpmyqhrR6ZF5ccOi3T0pwrgfozZ8dg+XvBKKY G8LPrmqZnHz0+UWWc9DxrIbFO7l5QU9QpxSxinDZtmE6lJbdAGsFnE03QZqrz8I7hIES 2JvK0ae9VuDlDWSzogPXyqhhp2d62un4QUYpZhsJbQEKz3xNit8SVDqOg9SEy1smcgyR CerBqUm/41T9ha8f2xdybJ6IDeYIAp1MZkrU+nsqxXctN6dBvYG1izpvidACSbyyp6vW Lj3g== 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=DucICkTfoY5DuFYIx3ODm5Gagg2UwM2QdQcfU6OO3fg=; b=mh7dRAy+MEai4LfNd4IcuyCKmhtSxd6NvyCgJH/d5hNcmu9XrC4VwgABME95Z8pXuO Fw2VZoNLFUwytMfE2/1FWBqojf5PbAes02T752zScCwHs0swfvYg9ngTwNUXI5oB9SJG 7sJdKeYwsl/bqAKnwJHVPsmsY3kczVMDjEz/TOa5fyCh07gI/TpaU2pd3PlvOd2P/ksf X6nnY8Z4LvHOc4dNUpYkF7H/5jItoKhInpo0Kejp+O+F36jTHi+GR8z8zLeneLN6qAVR I/wmLKLpG79khzD5AvbTmFhlcgHzoFOEV+hYw2K7dIT4ob7PaiHaQ37uAEZOHwGn32dI ADuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K8TY4nZD; 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 s2si2147871ilv.0.2021.09.09.06.16.57; Thu, 09 Sep 2021 06:17:15 -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=K8TY4nZD; 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 S1358910AbhIINP6 (ORCPT + 99 others); Thu, 9 Sep 2021 09:15:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:42448 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357667AbhIINDP (ORCPT ); Thu, 9 Sep 2021 09:03:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 121FD63295; Thu, 9 Sep 2021 11:59:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631188788; bh=gErt1nfR3OMbvWG5FwqnTixBqSZzxb/W0omYUcl7ER4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K8TY4nZDoIHUo+qpFo0i3BtHwJFG3pecIrJ0qhjhW5YYJLPNQI8GWN8JXNyBE9+lS 8BTcaVLEEkcjVxlAZlrPagqktPeGl8qPC8iIxyClnQyZ5Je6bP0fiS8fWBrIWIm5qq 16mzhY4aN4n5Kb0VR+kp7lwEY9+68n/AFxnII9S2z7fVhnE7lFb4/n6viw0WFR7AJs epvWdofNpV4l8/7RdU53JIi6bYFtVG0P73gSmIuxWvVD9ma/hCC2cexNvpGMubJqB8 Uh6WAJ+z9FrS6TLdamMwfy23jJo60kNwNcVMQ3HIqlzNbbJNX7VVL9TrG/5IXmRRj5 GR0F41q2Y9ilw== 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 4.14 38/59] ACPICA: iASL: Fix for WPBT table with no command-line arguments Date: Thu, 9 Sep 2021 07:58:39 -0400 Message-Id: <20210909115900.149795-38-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909115900.149795-1-sashal@kernel.org> References: <20210909115900.149795-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 5bde2e700530..7525ab3fb7ec 100644 --- a/include/acpi/actbl3.h +++ b/include/acpi/actbl3.h @@ -836,6 +836,10 @@ struct acpi_table_wpbt { u16 arguments_length; }; +struct acpi_wpbt_unicode { + u16 *unicode_string; +}; + /******************************************************************************* * * XENV - Xen Environment Table (ACPI 6.0) -- 2.30.2