* [PATCH] fs/dlm: section mismatch warning fix
@ 2008-05-11 17:15 ` Leonardo Potenza
0 siblings, 0 replies; 4+ messages in thread
From: Leonardo Potenza @ 2008-05-11 17:15 UTC (permalink / raw
To: kernel-janitors; +Cc: ccaulfie, teigland, linux-kernel
From: Leonardo Potenza <lpotenza@inwind.it>
Removed the section mismatch message:
WARNING: fs/dlm/dlm.o(.init.text+0x132): Section mismatch in reference from the function init_module() to the function .exit.text:dlm_netlink_exit()
Since dlm_netlink_exit() is called in the init_dlm() error handling,
the __exit annotation has been removed.
Signed-off-by: Leonardo Potenza <lpotenza@inwind.it>
---
netlink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/fs/dlm/netlink.c
===================================================================
--- linux-2.6.orig/fs/dlm/netlink.c
+++ linux-2.6/fs/dlm/netlink.c
@@ -95,7 +95,7 @@ int __init dlm_netlink_init(void)
return rv;
}
-void __exit dlm_netlink_exit(void)
+void dlm_netlink_exit(void)
{
genl_unregister_ops(&family, &dlm_nl_ops);
genl_unregister_family(&family);
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] fs/dlm: section mismatch warning fix
@ 2008-05-11 17:15 ` Leonardo Potenza
0 siblings, 0 replies; 4+ messages in thread
From: Leonardo Potenza @ 2008-05-11 17:15 UTC (permalink / raw
To: kernel-janitors; +Cc: ccaulfie, teigland, linux-kernel
From: Leonardo Potenza <lpotenza@inwind.it>
Removed the section mismatch message:
WARNING: fs/dlm/dlm.o(.init.text+0x132): Section mismatch in reference from the function init_module() to the function .exit.text:dlm_netlink_exit()
Since dlm_netlink_exit() is called in the init_dlm() error handling,
the __exit annotation has been removed.
Signed-off-by: Leonardo Potenza <lpotenza@inwind.it>
---
netlink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/fs/dlm/netlink.c
=================================--- linux-2.6.orig/fs/dlm/netlink.c
+++ linux-2.6/fs/dlm/netlink.c
@@ -95,7 +95,7 @@ int __init dlm_netlink_init(void)
return rv;
}
-void __exit dlm_netlink_exit(void)
+void dlm_netlink_exit(void)
{
genl_unregister_ops(&family, &dlm_nl_ops);
genl_unregister_family(&family);
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] fs/dlm: section mismatch warning fix
2008-05-11 17:15 ` Leonardo Potenza
@ 2008-05-12 15:21 ` David Teigland
-1 siblings, 0 replies; 4+ messages in thread
From: David Teigland @ 2008-05-12 15:21 UTC (permalink / raw
To: Leonardo Potenza; +Cc: kernel-janitors, ccaulfie, linux-kernel
On Sun, May 11, 2008 at 07:15:34PM +0200, Leonardo Potenza wrote:
> From: Leonardo Potenza <lpotenza@inwind.it>
>
> Removed the section mismatch message:
> WARNING: fs/dlm/dlm.o(.init.text+0x132): Section mismatch in reference from the function init_module() to the function .exit.text:dlm_netlink_exit()
>
> Since dlm_netlink_exit() is called in the init_dlm() error handling,
> the __exit annotation has been removed.
>
> Signed-off-by: Leonardo Potenza <lpotenza@inwind.it>
Thanks, I've added this to dlm.git.
Dave
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] fs/dlm: section mismatch warning fix
@ 2008-05-12 15:21 ` David Teigland
0 siblings, 0 replies; 4+ messages in thread
From: David Teigland @ 2008-05-12 15:21 UTC (permalink / raw
To: Leonardo Potenza; +Cc: kernel-janitors, ccaulfie, linux-kernel
On Sun, May 11, 2008 at 07:15:34PM +0200, Leonardo Potenza wrote:
> From: Leonardo Potenza <lpotenza@inwind.it>
>
> Removed the section mismatch message:
> WARNING: fs/dlm/dlm.o(.init.text+0x132): Section mismatch in reference from the function init_module() to the function .exit.text:dlm_netlink_exit()
>
> Since dlm_netlink_exit() is called in the init_dlm() error handling,
> the __exit annotation has been removed.
>
> Signed-off-by: Leonardo Potenza <lpotenza@inwind.it>
Thanks, I've added this to dlm.git.
Dave
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-05-12 15:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-11 17:15 [PATCH] fs/dlm: section mismatch warning fix Leonardo Potenza
2008-05-11 17:15 ` Leonardo Potenza
2008-05-12 15:21 ` David Teigland
2008-05-12 15:21 ` David Teigland
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.