All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH lttng-modules] Fix: section mismatch warning caused by __exit annotation
       [not found] <1488895951-12544-1-git-send-email-francis.deslauriers@efficios.com>
@ 2017-03-07 14:18 ` Mathieu Desnoyers
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2017-03-07 14:18 UTC (permalink / raw)
  To: Francis Deslauriers; +Cc: lttng-dev

merged into master and stable-2.9, thanks!

Mathieu

----- On Mar 7, 2017, at 9:12 AM, Francis Deslauriers francis.deslauriers@efficios.com wrote:

> lttng_logger_exit is used in a non-exit function so it can not be
> annotated with `__exit`
> 
> Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
> ---
> probes/lttng.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/probes/lttng.c b/probes/lttng.c
> index 58aa515..8810fa2 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)
> --
> 2.7.4

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH lttng-modules] Fix: section mismatch warning caused by __exit annotation
@ 2017-03-07 14:12 Francis Deslauriers
  0 siblings, 0 replies; 2+ messages in thread
From: Francis Deslauriers @ 2017-03-07 14:12 UTC (permalink / raw)
  To: lttng-dev

lttng_logger_exit is used in a non-exit function so it can not be
annotated with `__exit`

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
---
 probes/lttng.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/probes/lttng.c b/probes/lttng.c
index 58aa515..8810fa2 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)
-- 
2.7.4

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-07 14:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1488895951-12544-1-git-send-email-francis.deslauriers@efficios.com>
2017-03-07 14:18 ` [PATCH lttng-modules] Fix: section mismatch warning caused by __exit annotation Mathieu Desnoyers
2017-03-07 14:12 Francis Deslauriers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.