Message ID | 20210920163915.970625637@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp2320349jao; Mon, 20 Sep 2021 11:26:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5PLci6FsVKfIXqblHmFN1p05vWJfbUBLZBDHxBH96xU8obPRc0xk5dmVhnPghNiOjIJCn X-Received: by 2002:aa7:db4d:: with SMTP id n13mr30901576edt.398.1632162365191; Mon, 20 Sep 2021 11:26:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632162365; cv=none; d=google.com; s=arc-20160816; b=MmMiJ2nlWRyiHYN3nhMXsOXj2ARAB1dUCoFUAxMWojA4TRef3RjteoQSxDL3OX5A9+ GVBkeoXk14XfS4E25lRiBqNqsPFEVCUmTZcYZ/TzwL2bFUZPXjukPWZTzY93wLislL1K p64YSyTJdOFd9uIGfdFduSXpACeP0COVHtVKVKxe2aPiC6hZ0j4jmk7ubKjZWhszPb6G jOHR7n1VHwpVheqwDIZBqKXJK+30sVaHsAZL3gBPTBWBDSJuhPao4melAsCn08NwL4rX /xv96Lkp8H/pTVjrG/UbmZcqwPMZzHCPSl0/y8pG0kmCTADVq0pLJi94JuF7FAPO175C S6yA== 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=I0nsZvzF7GS9kPDI8KYOE3I53YFH1dwe06OH3GBoch8=; b=OhLAQ7gDXh22QKepFvMF229IVgS6HQ/DIicSzUWN0iDZHBicrRhtVzpC5k1gCgxmqK 2fREgF3XfTb2tZVPbCxUiOr5Mdbi3UkYXPTznr1V4ahUcYcJILjUVXlJmPX9OCxyBz2w 6UhxYq2/QS6HzBtXOb2YF0G1zWzsbjqYdUTEmvr7mrR1sKyX8LiE/7gBsjq2XtuLe440 QnltlDPiGo2DeGL3VaA6NHP2mpJTBEtskEwzJy/pvVeXkRTxMrLo9GZ7kXDMsRQ4jEa4 QU9xZ/3IqCTpdS5MMzwUmnOhkgzdc+b3EVWlU7Mjux2Hu1NrCdv8qh/HUo9dfn6SFtxi O1AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ChnCeAT5; 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 q5si19421526edh.492.2021.09.20.11.26.04; Mon, 20 Sep 2021 11:26:05 -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=ChnCeAT5; 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 S1378973AbhITS12 (ORCPT <rfc822;semen.protsenko@linaro.org> + 11 others); Mon, 20 Sep 2021 14:27:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:43766 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348137AbhITSZ1 (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 20 Sep 2021 14:25:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 25F5D632D0; Mon, 20 Sep 2021 17:25:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632158723; bh=Rzk16eFGZCHkcQPmr+mLyNt0vij5JEP7qj3OXPPf9mQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ChnCeAT5dTQbw0u8rW4gq5XR/FIxBsaD+r4VD4WuWxErWyTUb4Yp0dC8Pvl2pCtID Y96oiIkKM2jwBVnqQRl9E0OOyZW+x09puCyF1xIEicbWBBNX5ri07daw9igjqcoS0N BhSTz8lvs4kPg5vSQWJivAMowDxlr4eWk3zwRE5Q= 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 5.10 006/122] arm64/sve: Use correct size when reinitialising SVE state Date: Mon, 20 Sep 2021 18:42:58 +0200 Message-Id: <20210920163915.970625637@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163915.757887582@linuxfoundation.org> References: <20210920163915.757887582@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 @@ -510,7 +510,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; }