aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/scsi')
-rw-r--r--drivers/s390/scsi/zfcp_fsf.c3
-rw-r--r--drivers/s390/scsi/zfcp_scsi.c5
2 files changed, 3 insertions, 5 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c
index 022fb6a8cb83..fa86c6a28572 100644
--- a/drivers/s390/scsi/zfcp_fsf.c
+++ b/drivers/s390/scsi/zfcp_fsf.c
@@ -2207,7 +2207,8 @@ int zfcp_fsf_fcp_cmnd(struct scsi_cmnd *scsi_cmnd)
2207 io->ref_tag_value = scsi_get_lba(scsi_cmnd) & 0xFFFFFFFF; 2207 io->ref_tag_value = scsi_get_lba(scsi_cmnd) & 0xFFFFFFFF;
2208 } 2208 }
2209 2209
2210 zfcp_fsf_set_data_dir(scsi_cmnd, &io->data_direction); 2210 if (zfcp_fsf_set_data_dir(scsi_cmnd, &io->data_direction))
2211 goto failed_scsi_cmnd;
2211 2212
2212 fcp_cmnd = (struct fcp_cmnd *) &req->qtcb->bottom.io.fcp_cmnd; 2213 fcp_cmnd = (struct fcp_cmnd *) &req->qtcb->bottom.io.fcp_cmnd;
2213 zfcp_fc_scsi_to_fcp(fcp_cmnd, scsi_cmnd, 0); 2214 zfcp_fc_scsi_to_fcp(fcp_cmnd, scsi_cmnd, 0);
diff --git a/drivers/s390/scsi/zfcp_scsi.c b/drivers/s390/scsi/zfcp_scsi.c
index 7cac873c7383..96c31a70445f 100644
--- a/drivers/s390/scsi/zfcp_scsi.c
+++ b/drivers/s390/scsi/zfcp_scsi.c
@@ -24,11 +24,8 @@ module_param_named(queue_depth, default_depth, uint, 0600);
24MODULE_PARM_DESC(queue_depth, "Default queue depth for new SCSI devices"); 24MODULE_PARM_DESC(queue_depth, "Default queue depth for new SCSI devices");
25 25
26static bool enable_dif; 26static bool enable_dif;
27 27module_param_named(dif, enable_dif, bool, 0400);
28#ifdef CONFIG_ZFCP_DIF
29module_param_named(dif, enable_dif, bool, 0600);
30MODULE_PARM_DESC(dif, "Enable DIF/DIX data integrity support"); 28MODULE_PARM_DESC(dif, "Enable DIF/DIX data integrity support");
31#endif
32 29
33static bool allow_lun_scan = 1; 30static bool allow_lun_scan = 1;
34module_param(allow_lun_scan, bool, 0600); 31module_param(allow_lun_scan, bool, 0600);