summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/ptrace.c
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@arm.com>2019-08-07 12:34:45 +0200
committerWill Deacon <will@kernel.org>2019-08-07 17:20:57 +0200
commit08f103b9a9502974109fab47ea35ca8542c4e57a (patch)
treeb130e324a6396c5f66f9d52433b942c351ea1800 /arch/arm64/kernel/ptrace.c
parentarm64: mm: print hexadecimal EC value in mem_abort_decode() (diff)
downloadlinux-08f103b9a9502974109fab47ea35ca8542c4e57a.tar.xz
linux-08f103b9a9502974109fab47ea35ca8542c4e57a.zip
arm64/ptrace: Fix typoes in sve_set() comment
The ptrace trace SVE flags are prefixed with SVE_PT_*. Update the comment accordingly. Reviewed-by: Dave Martin <Dave.Martin@arm.com> Signed-off-by: Julien Grall <julien.grall@arm.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/ptrace.c')
-rw-r--r--arch/arm64/kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/ptrace.c b/arch/arm64/kernel/ptrace.c
index 3cf3b135027e..21176d02e21a 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,