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.12.2~8 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fc38d28e71eee1c93652b9e95f73bbaac5127860;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/wrapper/uprobes.h b/wrapper/uprobes.h index d76a7881..d180e1a9 100644 --- a/wrapper/uprobes.h +++ b/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