lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1331847626-11141-1-git-send-email-dev@snitselaar.org>
Date:	Thu, 15 Mar 2012 14:40:26 -0700
From:	Gerard Snitselaar <dev@...tselaar.org>
To:	andrew.vasquez@...gic.com, nab@...nel.org
Cc:	linux-driver@...gic.com, JBottomley@...allels.com,
	linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] scsi: qla2xxx: fix section mismatch in linux-next

qla_tgt_exit() is annotated __exit , but called in
qla2x00_module_init().

Signed-off-by: Gerard Snitselaar <dev@...tselaar.org>
---
 drivers/scsi/qla2xxx/qla_target.c |    2 +-
 drivers/scsi/qla2xxx/qla_target.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c
index 6d6f1cf..699d16e 100644
--- a/drivers/scsi/qla2xxx/qla_target.c
+++ b/drivers/scsi/qla2xxx/qla_target.c
@@ -4730,7 +4730,7 @@ out:
 	return ret;
 }
 
-void __exit qla_tgt_exit(void)
+void qla_tgt_exit(void)
 {
 	destroy_workqueue(qla_tgt_wq);
 	mempool_destroy(qla_tgt_mgmt_cmd_mempool);
diff --git a/drivers/scsi/qla2xxx/qla_target.h b/drivers/scsi/qla2xxx/qla_target.h
index db6b399..b9d0aa1 100644
--- a/drivers/scsi/qla2xxx/qla_target.h
+++ b/drivers/scsi/qla2xxx/qla_target.h
@@ -934,7 +934,7 @@ extern void qla_tgt_fc_port_deleted(struct scsi_qla_host *, fc_port_t *);
 extern void qla_tgt_set_mode(struct scsi_qla_host *ha);
 extern void qla_tgt_clear_mode(struct scsi_qla_host *ha);
 extern int __init qla_tgt_init(void);
-extern void __exit qla_tgt_exit(void);
+extern void qla_tgt_exit(void);
 
 static inline bool qla_tgt_mode_enabled(struct scsi_qla_host *ha)
 {
-- 
1.7.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ