projects
/
kernel
/
swap-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b6aa26
)
[FIX] Use GFP_ATOMIC flag in retprobe_copy
45/46845/4
author
Vyacheslav Cherkashin
<v.cherkashin@samsung.com>
Wed, 19 Aug 2015 09:09:34 +0000
(12:09 +0300)
committer
Dmitry Kovalenko
<d.kovalenko@samsung.com>
Fri, 28 Aug 2015 06:00:06 +0000
(23:00 -0700)
Change-Id: I6e728b57b4e185b9312d2833e84a1abe5e86bffc
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
retprobe/retprobe.c
patch
|
blob
|
history
diff --git
a/retprobe/retprobe.c
b/retprobe/retprobe.c
index
8a5daa2
..
e741456
100644
(file)
--- a/
retprobe/retprobe.c
+++ b/
retprobe/retprobe.c
@@
-40,7
+40,7
@@
static int retprobe_copy(struct probe_info *dest,
memcpy(dest, source, sizeof(*source));
len = strlen(source->rp_i.args) + 1;
- dest->rp_i.args = kmalloc(len, GFP_
KERNEL
);
+ dest->rp_i.args = kmalloc(len, GFP_
ATOMIC
);
if (dest->rp_i.args == NULL)
return -ENOMEM;
memcpy(dest->rp_i.args, source->rp_i.args, len);