]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
arm64/ptrace: Fix typoes in sve_set() comment
authorJulien Grall <julien.grall@arm.com>
Wed, 7 Aug 2019 10:34:45 +0000 (11:34 +0100)
committerWill Deacon <will@kernel.org>
Wed, 7 Aug 2019 15:20:57 +0000 (16:20 +0100)
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>
arch/arm64/kernel/ptrace.c

index 3cf3b135027e3fae6e26017ba8406f8a80b19f0f..21176d02e21a1c1b8e4977087717c816ba4329e5 100644 (file)
@@ -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,