projects
/
kernel
/
swap-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "[REFACTOR] Buffer: move getting next queue element into separate function"
[kernel/swap-modules.git]
/
uprobe
/
arch
/
asm-x86
/
swap_uprobes.c
diff --git
a/uprobe/arch/asm-x86/swap_uprobes.c
b/uprobe/arch/asm-x86/swap_uprobes.c
index
0d09c77
..
2ec59ac
100644
(file)
--- a/
uprobe/arch/asm-x86/swap_uprobes.c
+++ b/
uprobe/arch/asm-x86/swap_uprobes.c
@@
-375,7
+375,7
@@
static int uprobe_exceptions_notify(struct notifier_block *self, unsigned long v
struct die_args *args = (struct die_args *)data;
int ret = NOTIFY_DONE;
- if (args->regs
&&
!user_mode_vm(args->regs))
+ if (args->regs
== NULL ||
!user_mode_vm(args->regs))
return ret;
switch (val) {