From patchwork Wed Aug 7 10:34:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 170744 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp6945322ile; Wed, 7 Aug 2019 03:34:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzraWQLHE0G8D132ELOK/f3gA79pWWqlzD7tvYkJ2fng0MEnYM5TBsLE1+UEYa/bRy1sfs+ X-Received: by 2002:a17:90b:8c8:: with SMTP id ds8mr7860605pjb.89.1565174091747; Wed, 07 Aug 2019 03:34:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565174091; cv=none; d=google.com; s=arc-20160816; b=ZYf+j7A/geBmAKzUGozFKzBai1iZxPr5aY3B4MJYVlwGgxbwX86u5We6mB0QKseX9H WoMAMTMDq60gnPAL5/Qk2fn0Vq+R2WZxMgzxAAqqPkwlrjFS3beDxVW1NacQuyHLq2/m ujToVe5GKpTJM+hcMkIK8N3GRypfQHbeFX6tBxUhaRSu45XNlSFmKrIqqlln4vfJ7g6P 5XjiKlB2zr90evdZ9lPz69IltjwyZLlPMyQDfqkwDadUMK2R98BighXfJOW3o957kSLq VBBg9IMXVZeQ+fB9RFSdJzanWA5JXFlY+4uIuhzAhHSzeffgdCGjJm1zv9DizhlOjDPo tsTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=vVJHgK9J5d8a3EbJNPKapo7Hm82kAf/BVVbSBOQx3u8=; b=M7pI+mGutNe9pkPxwblwUaROR7LT2g0DdpK4RK87I4doEXi84w1+wxXUgA4HMXJDDe 9gqWppc66oT50XKz0q7SDJkTy1dtSjSMqpiH9kTweELKf6dVdSqFpH/c3w9Gs8XOe7sD LPUir5BnEw0yUoDJrvonIJLqG5LMMsBB4vINJc6U/p6OpFXs7vlRyMkm18lLeTfWpTHl UQhANYu9c7z9ufHVS6wZU1+y84vwNYZaY1wEwP+DFFPsjHU8rRGkO8FHb26QuXsTjiv4 xZY8XcpAmyB9uW7RBpzIFJAju7nmhLz09PCmyt9NjK6sWjSbjhuDUrdmPVU+cDItHqIW PhDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si48181753pls.176.2019.08.07.03.34.51; Wed, 07 Aug 2019 03:34:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727656AbfHGKeu (ORCPT + 28 others); Wed, 7 Aug 2019 06:34:50 -0400 Received: from foss.arm.com ([217.140.110.172]:46156 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726837AbfHGKeu (ORCPT ); Wed, 7 Aug 2019 06:34:50 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 84A1728; Wed, 7 Aug 2019 03:34:49 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7DFE13F575; Wed, 7 Aug 2019 03:34:48 -0700 (PDT) From: Julien Grall To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: will@kernel.org, catalin.marinas@arm.com, oleg@redhat.com, Dave.Martin@arm.com, Julien Grall Subject: [PATCH] arm64/ptrace: Fix typoes in sve_set() comment Date: Wed, 7 Aug 2019 11:34:45 +0100 Message-Id: <20190807103445.32257-1-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ptrace trace SVE flags are prefixed with SVE_PT_*. Update the comment accordingly. Signed-off-by: Julien Grall --- arch/arm64/kernel/ptrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 Reviewed-by: Dave Martin diff --git a/arch/arm64/kernel/ptrace.c b/arch/arm64/kernel/ptrace.c index 17525da8d5c8..0de3eae09d36 100644 --- a/arch/arm64/kernel/ptrace.c +++ b/arch/arm64/kernel/ptrace.c @@ -870,7 +870,7 @@ static int sve_set(struct task_struct *target, goto out; /* - * Apart from PT_SVE_REGS_MASK, all PT_SVE_* flags are consumed by + * Apart from SVE_PT_REGS_MASK, all SVE_PT_* flags are consumed by * sve_set_vector_length(), which will also validate them for us: */ ret = sve_set_vector_length(target, header.vl,