projects
/
platform
/
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:
c020cbc
)
Fix new sparce warnings
author
Alexander Aksenov
<a.aksenov@samsung.com>
Thu, 14 Feb 2013 15:57:21 +0000
(19:57 +0400)
committer
Alexander Aksenov
<a.aksenov@samsung.com>
Thu, 14 Feb 2013 15:57:21 +0000
(19:57 +0400)
driver/us_proc_inst.c
patch
|
blob
|
history
diff --git
a/driver/us_proc_inst.c
b/driver/us_proc_inst.c
index
1425de3
..
5e16646
100644
(file)
--- a/
driver/us_proc_inst.c
+++ b/
driver/us_proc_inst.c
@@
-1376,7
+1376,7
@@
unsigned long get_ret_addr(struct task_struct *task, struct us_ip *ip)
if (ri)
return (unsigned long)ri->ret_addr;
else
- dbi_get_ret_addr(task_pt_regs(task));
+
return
dbi_get_ret_addr(task_pt_regs(task));
}
EXPORT_SYMBOL_GPL(get_ret_addr);
@@
-1384,7
+1384,7
@@
unsigned long get_entry_sp(struct task_struct *task, struct us_ip *ip)
{
struct kretprobe_instance *ri = find_ri(task, ip);
if (ri)
- return ri->sp;
+ return
(unsigned long)
ri->sp;
else
return dbi_get_stack_ptr(task_pt_regs(task));
}