From: Maneesh Soni <maneesh@in.ibm.com>
To: mpeschke@de.ibm.com
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [s390] [2.6.10-rc1-bk11] zfcp compilation fix
Date: Mon, 1 Nov 2004 15:40:07 -0600 [thread overview]
Message-ID: <20041101214007.GB2613@in.ibm.com> (raw)
On 2.6.10-rc1-bk11
drivers/s390/scsi/zfcp_scsi.c: In function `zfcp_port_lookup':
drivers/s390/scsi/zfcp_scsi.c:423: error: `zfcp_port' undeclared (first use in this function)
drivers/s390/scsi/zfcp_scsi.c:423: error: (Each undeclared identifier is reported only once
drivers/s390/scsi/zfcp_scsi.c:423: error: for each function it appears in.)
drivers/s390/scsi/zfcp_scsi.c:423: error: parse error before ')' token
make[2]: *** [drivers/s390/scsi/zfcp_scsi.o] Error 1
make[1]: *** [drivers/s390/scsi] Error 2
make: *** [drivers/s390] Error 2
Add the missing "struct" keyword.
Signed-off-by: <maneesh@in.ibm.com>
---
linux-2.6.10-rc1-bk11-maneesh/drivers/s390/scsi/zfcp_scsi.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/s390/scsi/zfcp_scsi.c~fix-zfcp-compilation drivers/s390/scsi/zfcp_scsi.c
--- linux-2.6.10-rc1-bk11/drivers/s390/scsi/zfcp_scsi.c~fix-zfcp-compilation 2004-11-01 15:32:38.000000000 -0600
+++ linux-2.6.10-rc1-bk11-maneesh/drivers/s390/scsi/zfcp_scsi.c 2004-11-01 15:33:08.000000000 -0600
@@ -420,7 +420,7 @@ zfcp_port_lookup(struct zfcp_adapter *ad
if (id == port->scsi_id)
return port;
}
- return (zfcp_port *)NULL;
+ return (struct zfcp_port *)NULL;
}
/*
_
--
Maneesh Soni
Linux Technology Center,
IBM Austin
email: maneesh@in.ibm.com
Phone: 1-512-838-1896 Fax:
T/L : 6781896
reply other threads:[~2004-11-02 3:11 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=20041101214007.GB2613@in.ibm.com \
--to=maneesh@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mpeschke@de.ibm.com \
/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
all inboxes | Powered by JetHome®