Message ID | 20210920163942.047521269@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp2293600jao; Mon, 20 Sep 2021 10:54:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJwuEYTT3qvWfGcrnSU78wgstsC0hbYhIiOa8kjfM27QBj3vedmq1MTYM+E7bfI3kYIzIm X-Received: by 2002:a5d:9958:: with SMTP id v24mr20212421ios.201.1632160486275; Mon, 20 Sep 2021 10:54:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632160486; cv=none; d=google.com; s=arc-20160816; b=bZF9c7NHfdRXS4QzovBoa7zSQnue0yDCe5F10v2SWHu+afGIpzvPgKzogM2mNs72cx T7vtSa3kxgnGnqUeYjYl0naJ/5Ta9/MIOPXL43VPykKqH8SriuSzMk/APPqG+Lw2vxfN JFNxnduXaU+E9i2/W0wEydwtxBm6pAZoezlnQoWZi9hjXjLazcXGcir4c3N/MVgVCcMh jAZThbTpwoxggIDO9tmJ5J2FS9msZt7I/Up8vvxbn/glDj08kgzMdhJnajlkd/gWTIYS f63fw7AZLZlQf5RkFDeL5DIjYOtgnnbtgrkPMNqovBIaa5ybLUcqpJHLywWOkAM2OPly Isyw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=hfFxfOg5zwWl+gfvWSmMt5W+ZuAKoKhHyTxFu1OpByA=; b=b6RrmXE/glAcrU9CsUzEnedcpmuNrWMjNQ86gCY9qDUdkp+7ltq74VfpFaYxXxIemR lHMI8oCwwd8bauoUGa1P2UWvTwDpasKu8bYgY1o9cyTW8xbYlO9ZKQjriH7bUgRqU7/W AeKsYrfYosp5u59hfT2VaykpDiIzBZusbLpRMi019GODYf9WRXjhsAX639DGQa8BxXtc 13jpTGRaEgeDSqLtujdhVmKSNaldaDxYYlcrfJxRRaGU/wOyHrkcf/hgFcl15FUx1G0u vrRYQxxt5XVHD6hvnYrCiHl+zq6Q6iNvJfyHnyIkgNWqDcC9IQpF9abp3p+dj5inCwNF FLuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LK7p6P1O; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i21si3180695ioj.27.2021.09.20.10.54.46; Mon, 20 Sep 2021 10:54:46 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-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=@linuxfoundation.org header.s=korg header.b=LK7p6P1O; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343957AbhITRz6 (ORCPT <rfc822;semen.protsenko@linaro.org> + 11 others); Mon, 20 Sep 2021 13:55:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:54556 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355190AbhITRyS (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 20 Sep 2021 13:54:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7D46A61BFE; Mon, 20 Sep 2021 17:13:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632158007; bh=dE7Vn0lCqonUuO3g+fvfTT795OVoIb9npFsBKYR+cKE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LK7p6P1Od8gYwADdlspmLgiSOFLOcgoXc+5uSjh6VW2pkmTyZUuyjcWkb3Xk/oqmU KZSZhEK/mGu9iLSRejUzZT8oZxnOphF3jbw884EpAMy2X5FOy8IB9eHYkgqF+6GOfF vlJroQTdgx2ycFDbTk7dgHcFiCkOHngOs5hBA4zs= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Mark Brown <broonie@kernel.org>, Catalin Marinas <catalin.marinas@arm.com> Subject: [PATCH 4.19 253/293] arm64/sve: Use correct size when reinitialising SVE state Date: Mon, 20 Sep 2021 18:43:35 +0200 Message-Id: <20210920163942.047521269@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163933.258815435@linuxfoundation.org> References: <20210920163933.258815435@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/arch/arm64/kernel/fpsimd.c +++ b/arch/arm64/kernel/fpsimd.c @@ -434,7 +434,7 @@ size_t sve_state_size(struct task_struct void sve_alloc(struct task_struct *task) { if (task->thread.sve_state) { - memset(task->thread.sve_state, 0, sve_state_size(current)); + memset(task->thread.sve_state, 0, sve_state_size(task)); return; }