diff --git a/iscsi-scst/kernel/nthread.c b/iscsi-scst/kernel/nthread.c index 9f4aab2c3..d384161be 100644 --- a/iscsi-scst/kernel/nthread.c +++ b/iscsi-scst/kernel/nthread.c @@ -758,7 +758,7 @@ static int iscsi_rx_check_ddigest(struct iscsi_conn *conn) goto out; } } - } + } out: return res; @@ -798,7 +798,7 @@ static void process_read_io(struct iscsi_conn *conn, int *closed) } else { iscsi_conn_prepare_read_ahs(conn, cmnd); conn->read_state = RX_AHS; - } + } } break; diff --git a/qla2x00t/qla2x00-target/qla2x00t.c b/qla2x00t/qla2x00-target/qla2x00t.c index acd23aed9..3c80ac836 100644 --- a/qla2x00t/qla2x00-target/qla2x00t.c +++ b/qla2x00t/qla2x00-target/qla2x00t.c @@ -5171,10 +5171,10 @@ static ssize_t q2t_enable_tgt(struct scst_tgt *scst_tgt, const char *buffer, int res = 0; switch (buffer[0]) { - case '0' : + case '0': res = q2t_host_action(ha, DISABLE_TARGET_MODE); break; - case '1' : + case '1': res = q2t_host_action(ha, ENABLE_TARGET_MODE); break; default: @@ -5238,12 +5238,12 @@ static ssize_t q2t_store_expl_conf_enabled(struct kobject *kobj, spin_lock_irqsave(&ha->hardware_lock, flags); switch (buffer[0]) { - case '0' : + case '0': ha->enable_explicit_conf = 0; PRINT_INFO("qla2xxx(%ld): explicit conformations disabled", ha->instance); break; - case '1' : + case '1': ha->enable_explicit_conf = 1; PRINT_INFO("qla2xxx(%ld): explicit conformations enabled", ha->instance); diff --git a/scst/src/scst_sysfs.c b/scst/src/scst_sysfs.c index 57aadd4f0..67e43ca91 100644 --- a/scst/src/scst_sysfs.c +++ b/scst/src/scst_sysfs.c @@ -979,7 +979,7 @@ static ssize_t scst_luns_mgmt_store(struct kobject *kobj, dev_replaced = true; } - } + } res = scst_acg_add_dev(acg, dev, virt_lun, read_only, !dev_replaced); @@ -1005,7 +1005,7 @@ static ssize_t scst_luns_mgmt_store(struct kobject *kobj, SCST_LOAD_SENSE(scst_sense_inquery_data_changed)); } } - } + } break; }