aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/scsi/zfcp_scsi.c')
-rw-r--r--drivers/s390/scsi/zfcp_scsi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/s390/scsi/zfcp_scsi.c b/drivers/s390/scsi/zfcp_scsi.c
index 3a7f3b87fb36..5fbbd21a88e4 100644
--- a/drivers/s390/scsi/zfcp_scsi.c
+++ b/drivers/s390/scsi/zfcp_scsi.c
@@ -731,7 +731,7 @@ zfcp_get_fc_host_stats(struct Scsi_Host *shost)
731 if (!data) 731 if (!data)
732 return NULL; 732 return NULL;
733 733
734 ret = zfcp_fsf_exchange_port_data(NULL, adapter, data); 734 ret = zfcp_fsf_exchange_port_data_sync(adapter, data);
735 if (ret) { 735 if (ret) {
736 kfree(data); 736 kfree(data);
737 return NULL; /* XXX return zeroed fc_stats? */ 737 return NULL; /* XXX return zeroed fc_stats? */
@@ -761,7 +761,7 @@ zfcp_reset_fc_host_stats(struct Scsi_Host *shost)
761 if (!data) 761 if (!data)
762 return; 762 return;
763 763
764 ret = zfcp_fsf_exchange_port_data(NULL, adapter, data); 764 ret = zfcp_fsf_exchange_port_data_sync(adapter, data);
765 if (ret) { 765 if (ret) {
766 kfree(data); 766 kfree(data);
767 } else { 767 } else {
@@ -800,6 +800,7 @@ struct fc_function_template zfcp_transport_functions = {
800 .show_host_port_type = 1, 800 .show_host_port_type = 1,
801 .show_host_speed = 1, 801 .show_host_speed = 1,
802 .show_host_port_id = 1, 802 .show_host_port_id = 1,
803 .disable_target_scan = 1,
803}; 804};
804 805
805/** 806/**