From: "Randy.Dunlap" <rddunlap@osdl.org>
To: linux-scsi@vger.kernel.org, James.Bottomley@SteelEye.com,
jes@trained-monkey.org
Subject: [PATCH] qla1280: driver_setup not __initdata
Date: Tue, 19 Oct 2004 21:28:10 -0700 [thread overview]
Message-ID: <4175E95A.9090107@osdl.org> (raw)
[-- 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
reply other threads:[~2004-10-20 4:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4175E95A.9090107@osdl.org \
--to=rddunlap@osdl.org \
--cc=James.Bottomley@SteelEye.com \
--cc=jes@trained-monkey.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).