From: Michael Jeanson Date: Tue, 7 Jul 2020 16:21:54 +0000 (-0400) Subject: fix: wrapper_uprobe_unregister is a void function X-Git-Tag: v2.13.0-rc1~194 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=213231d6136bfa2152661da47d679fe30feffe1e;p=lttng-modules.git fix: wrapper_uprobe_unregister is a void function Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers Change-Id: Ib4438da02aac3defd1245324d1b48f400f806d58 --- diff --git a/include/wrapper/uprobes.h b/include/wrapper/uprobes.h index 8b745715..f5487e1b 100644 --- a/include/wrapper/uprobes.h +++ b/include/wrapper/uprobes.h @@ -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