diff options
author | Dmitry Kovalenko <d.kovalenko@samsung.com> | 2015-09-14 17:27:09 +0300 |
---|---|---|
committer | Dmitry Kovalenko <d.kovalenko@samsung.com> | 2015-09-22 00:39:12 -0700 |
commit | f9b31b54d415a5c6eb930fce04695dbdefbfce9b (patch) | |
tree | a0abcbea356039069cac86e0487e826d2a55b72f | |
parent | 4da0f48028fd1982a75a64292662203b36461b87 (diff) | |
download | swap-modules-f9b31b54d415a5c6eb930fce04695dbdefbfce9b.tar.gz swap-modules-f9b31b54d415a5c6eb930fce04695dbdefbfce9b.tar.bz2 swap-modules-f9b31b54d415a5c6eb930fce04695dbdefbfce9b.zip |
[STYLE] Fix mr_pre_handler
Change-Id: I13ea53ea42082d1cfc9e4201b6731b6672bb2b32
-rw-r--r-- | us_manager/helper.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/us_manager/helper.c b/us_manager/helper.c index 449a1074..1c7e088e 100644 --- a/us_manager/helper.c +++ b/us_manager/helper.c @@ -455,13 +455,12 @@ static int mr_pre_handler(struct kprobe *p, struct pt_regs *regs) ret = set_kjump_cb(regs, mr_cb, (void *)&task, sizeof(task)); if (ret < 0) { printk("##### ERROR: mr_pre_handler, ret=%d\n", ret); - ret = 0; } else { atomic_inc(&mm_release_cnt); } out: - return ret; + return 0; } static struct kprobe mr_kprobe = { |