projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma
[linux-2.6-microblaze.git]
/
arch
/
arm64
/
kernel
/
ptrace.c
diff --git
a/arch/arm64/kernel/ptrace.c
b/arch/arm64/kernel/ptrace.c
index
b381a1e
..
e26196a
100644
(file)
--- a/
arch/arm64/kernel/ptrace.c
+++ b/
arch/arm64/kernel/ptrace.c
@@
-845,6
+845,11
@@
static int sve_set(struct task_struct *target,
}
sve_alloc(target);
+ if (!target->thread.sve_state) {
+ ret = -ENOMEM;
+ clear_tsk_thread_flag(target, TIF_SVE);
+ goto out;
+ }
/*
* Ensure target->thread.sve_state is up to date with target's