fix: wrapper_uprobe_unregister is a void function
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 7 Jul 2020 16:21:54 +0000 (12:21 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 7 Jul 2020 20:31:56 +0000 (16:31 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ib4438da02aac3defd1245324d1b48f400f806d58

include/wrapper/uprobes.h

index 8b745715ffcf17af51847f051b3f55a303f5e9c6..f5487e1b16a6677215ede184d427d9b94c15da95 100644 (file)
@@ -88,9 +88,9 @@ void wrapper_uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe
  *   extern void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc);
  */
 static inline
-int __canary__uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc)
+void __canary__uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc)
 {
-       return uprobe_unregister(inode, offset, uc);
+       uprobe_unregister(inode, offset, uc);
 }
 
 #endif
This page took 0.026256 seconds and 4 git commands to generate.