aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_erp.c
diff options
context:
space:
mode:
authorSwen Schillig <swen@vnet.ibm.com>2008-10-01 06:42:18 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-10-03 13:11:53 -0400
commit7ba58c9cc16d296290fe645acb11db2b01276544 (patch)
tree7dabe15082a18e3b5e449c6dad37f7d20ba95e64 /drivers/s390/scsi/zfcp_erp.c
parent5ab944f97e09a3d52951fe903eed9a7b88d810b2 (diff)
[SCSI] zfcp: remove all typedefs and replace them with standards
Remove typedefs from zfcp, use already existing types instead. Signed-off-by: Swen Schillig <swen@vnet.ibm.com> Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_erp.c')
-rw-r--r--drivers/s390/scsi/zfcp_erp.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/s390/scsi/zfcp_erp.c b/drivers/s390/scsi/zfcp_erp.c
index e7d3bce51429..07d22f343cc5 100644
--- a/drivers/s390/scsi/zfcp_erp.c
+++ b/drivers/s390/scsi/zfcp_erp.c
@@ -991,7 +991,8 @@ static int zfcp_erp_strategy_check_unit(struct zfcp_unit *unit, int result)
991 dev_err(&unit->port->adapter->ccw_device->dev, 991 dev_err(&unit->port->adapter->ccw_device->dev,
992 "ERP failed for unit 0x%016Lx on " 992 "ERP failed for unit 0x%016Lx on "
993 "port 0x%016Lx\n", 993 "port 0x%016Lx\n",
994 unit->fcp_lun, unit->port->wwpn); 994 (unsigned long long)unit->fcp_lun,
995 (unsigned long long)unit->port->wwpn);
995 zfcp_erp_unit_failed(unit, 21, NULL); 996 zfcp_erp_unit_failed(unit, 21, NULL);
996 } 997 }
997 break; 998 break;
@@ -1021,7 +1022,7 @@ static int zfcp_erp_strategy_check_port(struct zfcp_port *port, int result)
1021 if (atomic_read(&port->erp_counter) > ZFCP_MAX_ERPS) { 1022 if (atomic_read(&port->erp_counter) > ZFCP_MAX_ERPS) {
1022 dev_err(&port->adapter->ccw_device->dev, 1023 dev_err(&port->adapter->ccw_device->dev,
1023 "ERP failed for remote port 0x%016Lx\n", 1024 "ERP failed for remote port 0x%016Lx\n",
1024 port->wwpn); 1025 (unsigned long long)port->wwpn);
1025 zfcp_erp_port_failed(port, 22, NULL); 1026 zfcp_erp_port_failed(port, 22, NULL);
1026 } 1027 }
1027 break; 1028 break;
@@ -1199,7 +1200,8 @@ static void zfcp_erp_schedule_work(struct zfcp_unit *unit)
1199 if (!p) { 1200 if (!p) {
1200 dev_err(&unit->port->adapter->ccw_device->dev, 1201 dev_err(&unit->port->adapter->ccw_device->dev,
1201 "Registering unit 0x%016Lx on port 0x%016Lx failed\n", 1202 "Registering unit 0x%016Lx on port 0x%016Lx failed\n",
1202 unit->fcp_lun, unit->port->wwpn); 1203 (unsigned long long)unit->fcp_lun,
1204 (unsigned long long)unit->port->wwpn);
1203 return; 1205 return;
1204 } 1206 }
1205 1207
@@ -1221,7 +1223,7 @@ static void zfcp_erp_rport_register(struct zfcp_port *port)
1221 if (!port->rport) { 1223 if (!port->rport) {
1222 dev_err(&port->adapter->ccw_device->dev, 1224 dev_err(&port->adapter->ccw_device->dev,
1223 "Registering port 0x%016Lx failed\n", 1225 "Registering port 0x%016Lx failed\n",
1224 port->wwpn); 1226 (unsigned long long)port->wwpn);
1225 return; 1227 return;
1226 } 1228 }
1227 1229