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:
098b080
)
[FIX] Wrong check in __get_vma_by_addr()
18/55118/1
author
Dmitry Kovalenko
<d.kovalenko@samsung.com>
Tue, 22 Dec 2015 04:52:44 +0000
(07:52 +0300)
committer
Dmitry Kovalenko
<d.kovalenko@samsung.com>
Tue, 22 Dec 2015 04:52:44 +0000
(07:52 +0300)
Change-Id: I8914104426a7328b45aa220c3bce6e6600256894
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
preload/preload_handlers.c
patch
|
blob
|
history
diff --git
a/preload/preload_handlers.c
b/preload/preload_handlers.c
index
0702a79
..
fa4573c
100644
(file)
--- a/
preload/preload_handlers.c
+++ b/
preload/preload_handlers.c
@@
-35,7
+35,7
@@
static inline struct vm_area_struct *__get_vma_by_addr(struct task_struct *task,
{
struct vm_area_struct *vma = NULL;
- if ((task == NULL)
&&
(task->mm == NULL))
+ if ((task == NULL)
||
(task->mm == NULL))
return NULL;
vma = find_vma_intersection(task->mm, caddr, caddr + 1);