init/bootconfig: Reorder init parameter from bootconfig and cmdline
[linux-2.6-microblaze.git] / drivers / target / target_core_sbc.c
index 7b07e55..b32f4ee 100644 (file)
@@ -67,7 +67,7 @@ sbc_emulate_readcapacity(struct se_cmd *cmd)
                transport_kunmap_data_sg(cmd);
        }
 
-       target_complete_cmd_with_length(cmd, GOOD, 8);
+       target_complete_cmd_with_length(cmd, SAM_STAT_GOOD, 8);
        return 0;
 }
 
@@ -130,7 +130,7 @@ sbc_emulate_readcapacity_16(struct se_cmd *cmd)
                transport_kunmap_data_sg(cmd);
        }
 
-       target_complete_cmd_with_length(cmd, GOOD, 32);
+       target_complete_cmd_with_length(cmd, SAM_STAT_GOOD, 32);
        return 0;
 }
 
@@ -202,14 +202,14 @@ sbc_execute_write_same_unmap(struct se_cmd *cmd)
                        return ret;
        }
 
-       target_complete_cmd(cmd, GOOD);
+       target_complete_cmd(cmd, SAM_STAT_GOOD);
        return 0;
 }
 
 static sense_reason_t
 sbc_emulate_noop(struct se_cmd *cmd)
 {
-       target_complete_cmd(cmd, GOOD);
+       target_complete_cmd(cmd, SAM_STAT_GOOD);
        return 0;
 }
 
@@ -1245,7 +1245,7 @@ sbc_execute_unmap(struct se_cmd *cmd)
 err:
        transport_kunmap_data_sg(cmd);
        if (!ret)
-               target_complete_cmd(cmd, GOOD);
+               target_complete_cmd(cmd, SAM_STAT_GOOD);
        return ret;
 }