From: Francis Deslauriers Date: Tue, 7 Mar 2017 14:12:31 +0000 (-0500) Subject: Fix: section mismatch warning caused by __exit annotation X-Git-Url: http://git.efficios.com/?p=deliverable%2Flttng-modules.git;a=commitdiff_plain;h=32fe46fb8640cf2e50103ba2f2efd1ef5c245eaf Fix: section mismatch warning caused by __exit annotation lttng_logger_exit is used in a non-exit function so it should not be annotated with `__exit`. Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers --- diff --git a/probes/lttng.c b/probes/lttng.c index 58aa5154..8810fa22 100644 --- a/probes/lttng.c +++ b/probes/lttng.c @@ -129,7 +129,7 @@ error: return ret; } -void __exit lttng_logger_exit(void) +void lttng_logger_exit(void) { __lttng_events_exit__lttng(); if (lttng_logger_dentry)