From: Francis Deslauriers Date: Tue, 7 Mar 2017 14:12:31 +0000 (-0500) Subject: Fix: section mismatch warning caused by __exit annotation X-Git-Tag: v2.9.2~10 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=6217d77e80b06534318bcfaa338175ad18350913;p=lttng-modules.git 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)