* [PATCH] qla1280: driver_setup not __initdata
@ 2004-10-20 4:28 Randy.Dunlap
0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2004-10-20 4:28 UTC (permalink / raw)
To: linux-scsi, James.Bottomley, jes
[-- Attachment #1: Type: text/plain, Size: 12 bytes --]
--
~Randy
[-- Attachment #2: qla1280_init.patch --]
[-- Type: text/x-patch, Size: 1441 bytes --]
'driver_setup' cannot be __initdata if slave_configure() can be called
after driver-init:
Error: ./drivers/scsi/qla1280.o .text refers to 0000000000000fbf R_X86_64_PC32 .init.data+0x000000000000007b
Error: ./drivers/scsi/qla1280.o .text refers to 0000000000000fc9 R_X86_64_PC32 .init.data+0x000000000000007e
Error: ./drivers/scsi/qla1280.o .text refers to 0000000000000fea R_X86_64_PC32 .init.data+0x000000000000007b
Error: ./drivers/scsi/qla1280.o .text refers to 0000000000000ff4 R_X86_64_PC32 .init.data+0x0000000000000080
Error: ./drivers/scsi/qla1280.o .text refers to 0000000000001039 R_X86_64_PC32 .init.data+0x000000000000007b
Error: ./drivers/scsi/qla1280.o .text refers to 0000000000001043 R_X86_64_PC32 .init.data+0x0000000000000082
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
diffstat:=
drivers/scsi/qla1280.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Naurp ./drivers/scsi/qla1280.c~qla1280_init ./drivers/scsi/qla1280.c
--- ./drivers/scsi/qla1280.c~qla1280_init 2004-10-18 14:55:35.000000000 -0700
+++ ./drivers/scsi/qla1280.c 2004-10-19 21:01:59.414022600 -0700
@@ -549,7 +549,7 @@ static void qla1280_get_target_parameter
static int qla1280_set_target_parameters(struct scsi_qla_host *, int, int);
-static struct qla_driver_setup driver_setup __initdata;
+static struct qla_driver_setup driver_setup;
/*
* convert scsi data direction to request_t control flags
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-20 4:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-20 4:28 [PATCH] qla1280: driver_setup not __initdata Randy.Dunlap
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).