All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fcoe: fix compilation warnings of section mismatch
@ 2012-06-26 12:17 Tony Zelenoff
  2012-06-29 20:13 ` Love, Robert W
  0 siblings, 1 reply; 5+ messages in thread
From: Tony Zelenoff @ 2012-06-26 12:17 UTC (permalink / raw)
  To: linux-scsi; +Cc: antonz

Fix this message:
WARNING: drivers/scsi/fcoe/libfcoe.o(.init.text+0x21): Section mismatch
in reference from the function init_module() to the function
.exit.text:fcoe_transport_exit()
The function __init init_module() references
a function __exit fcoe_transport_exit().

Signed-off-by: Tony Zelenoff <antonz@parallels.com>
---
 drivers/scsi/fcoe/fcoe_transport.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/fcoe/fcoe_transport.c b/drivers/scsi/fcoe/fcoe_transport.c
index b46f43d..71cc909 100644
--- a/drivers/scsi/fcoe/fcoe_transport.c
+++ b/drivers/scsi/fcoe/fcoe_transport.c
@@ -502,7 +502,7 @@ static int __init fcoe_transport_init(void)
 	return 0;
 }
 
-static int __exit fcoe_transport_exit(void)
+static int fcoe_transport_exit(void)
 {
 	struct fcoe_transport *ft;
 
-- 
1.7.1


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

end of thread, other threads:[~2012-07-02 16:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-26 12:17 [PATCH] fcoe: fix compilation warnings of section mismatch Tony Zelenoff
2012-06-29 20:13 ` Love, Robert W
2012-06-29 20:20   ` James Bottomley
2012-06-30  5:25     ` Tony Zelenoff
2012-07-02 16:22       ` Rustad, Mark D

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.