mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [s390] [2.6.10-rc1-bk11] zfcp compilation fix
@ 2004-11-01 21:40 Maneesh Soni
  0 siblings, 0 replies; only message in thread
From: Maneesh Soni @ 2004-11-01 21:40 UTC (permalink / raw)
  To: mpeschke; +Cc: LKML


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-02  3:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-01 21:40 [s390] [2.6.10-rc1-bk11] zfcp compilation fix Maneesh Soni

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®