diff options
| author | Julien Grall <julien.grall@arm.com> | 2019-08-07 06:34:45 -0400 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2019-08-07 11:20:57 -0400 |
| commit | 08f103b9a9502974109fab47ea35ca8542c4e57a (patch) | |
| tree | b130e324a6396c5f66f9d52433b942c351ea1800 | |
| parent | 2951d5efaf8b67cc4851373de92a91a60899611c (diff) | |
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>
| -rw-r--r-- | arch/arm64/kernel/ptrace.c | 2 |
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, | |||
| 870 | goto out; | 870 | goto out; |
| 871 | 871 | ||
| 872 | /* | 872 | /* |
| 873 | * Apart from PT_SVE_REGS_MASK, all PT_SVE_* flags are consumed by | 873 | * Apart from SVE_PT_REGS_MASK, all SVE_PT_* flags are consumed by |
| 874 | * sve_set_vector_length(), which will also validate them for us: | 874 | * sve_set_vector_length(), which will also validate them for us: |
| 875 | */ | 875 | */ |
| 876 | ret = sve_set_vector_length(target, header.vl, | 876 | ret = sve_set_vector_length(target, header.vl, |
