[s390] [2.6.10-rc1-bk11] zfcp compilation fix

From: Maneesh Soni
Date: Mon Nov 01 2004 - 22:15:47 EST



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@xxxxxxxxxx>
---

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@xxxxxxxxxx
Phone: 1-512-838-1896 Fax:
T/L : 6781896
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/