zfcp compilation fix
Subsystems (2)
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 <[email protected]>
---
linux-2.6.10-rc1-bk11-maneesh/drivers/s390/scsi/zfcp_scsi.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/s390/scsi/zfcp_scsi.c renamed from drivers/s390/scsi/zfcp_scsi.c~fix-zfcp-compilation +1 -1
@@ -420,7 +420,7 @@ zfcp_port_lookup(struct zfcp_adapter *adif (id == port->scsi_id)return port; } -return (zfcp_port *)NULL ; +return (struct zfcp_port *)NULL ; }/*
_
Signature · 6 lines
Maneesh Soni Linux Technology Center, IBM Austin email: [email protected] Phone: 1-512-838-1896 Fax: T/L : 6781896