linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] scsi/qla2xxx/qla_os.c section fix
@ 2007-11-25 22:05 Adrian Bunk
  2007-12-03 14:18 ` Seokmann Ju
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-11-25 22:05 UTC (permalink / raw)
  To: linux-driver; +Cc: linux-scsi, linux-kernel

qla2x00_remove_one() mustn't be __devexit since it's called from 
qla2xxx_pci_error_detected().

This patch fixes the following section mismatch:

<--  snip  -->

...
WARNING: vmlinux.o(.text+0x2a4462): Section mismatch: reference to .exit.text:qla2x00_remove_one (between 'qla2xxx_pci_error_detected' and 'qla2x00_stop_timer')
...

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 drivers/scsi/qla2xxx/qla_os.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

764ebbed3c09f765963c20a3a326cf651685a81a 
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index a5bcf1f..8ecc047 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -1831,7 +1831,7 @@ probe_out:
 	return ret;
 }
 
-static void __devexit
+static void
 qla2x00_remove_one(struct pci_dev *pdev)
 {
 	scsi_qla_host_t *ha;
@@ -2965,7 +2965,7 @@ static struct pci_driver qla2xxx_pci_driver = {
 	},
 	.id_table	= qla2xxx_pci_tbl,
 	.probe		= qla2x00_probe_one,
-	.remove		= __devexit_p(qla2x00_remove_one),
+	.remove		= qla2x00_remove_one,
 	.err_handler	= &qla2xxx_err_handler,
 };
 


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

* Re: [2.6 patch] scsi/qla2xxx/qla_os.c section fix
  2007-11-25 22:05 [2.6 patch] scsi/qla2xxx/qla_os.c section fix Adrian Bunk
@ 2007-12-03 14:18 ` Seokmann Ju
  0 siblings, 0 replies; 2+ messages in thread
From: Seokmann Ju @ 2007-12-03 14:18 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-driver, linux-scsi, linux-kernel

Adrian Bunk wrote:
> qla2x00_remove_one() mustn't be __devexit since it's called from 
> qla2xxx_pci_error_detected().
> 
> This patch fixes the following section mismatch:
> 
> <--  snip  -->
> 
> ...
> WARNING: vmlinux.o(.text+0x2a4462): Section mismatch: reference to .exit.text:qla2x00_remove_one (between 'qla2xxx_pci_error_detected' and 'qla2x00_stop_timer')
> ...
> 
> <--  snip  -->
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
ACK.
Acked-by: Seokmann Ju <seokmann.ju@qlogic.com>

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

end of thread, other threads:[~2007-12-03 14:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-25 22:05 [2.6 patch] scsi/qla2xxx/qla_os.c section fix Adrian Bunk
2007-12-03 14:18 ` Seokmann Ju

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).