Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344754
b: refs/heads/master
c: 6b64e1f
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Nicholas Bellinger committed Nov 28, 2012
1 parent d8f4d7d commit 3ed6f6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3c989d7603872bf878840f7ce3ea49b73bea4c6c
refs/heads/master: 6b64e1fe2ba80ac3ce12a21f1200bac594fa1a1c
6 changes: 3 additions & 3 deletions trunk/drivers/target/target_core_sbc.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ sbc_parse_cdb(struct se_cmd *cmd, struct sbc_ops *ops)
cmd->t_task_lba = get_unaligned_be64(&cdb[12]);

ret = sbc_setup_write_same(cmd, &cdb[10], ops);
if (ret < 0)
if (ret)
return ret;
break;
default:
Expand Down Expand Up @@ -510,7 +510,7 @@ sbc_parse_cdb(struct se_cmd *cmd, struct sbc_ops *ops)
cmd->t_task_lba = get_unaligned_be64(&cdb[2]);

ret = sbc_setup_write_same(cmd, &cdb[1], ops);
if (ret < 0)
if (ret)
return ret;
break;
case WRITE_SAME:
Expand All @@ -528,7 +528,7 @@ sbc_parse_cdb(struct se_cmd *cmd, struct sbc_ops *ops)
* of byte 1 bit 3 UNMAP instead of original reserved field
*/
ret = sbc_setup_write_same(cmd, &cdb[1], ops);
if (ret < 0)
if (ret)
return ret;
break;
case VERIFY:
Expand Down

0 comments on commit 3ed6f6f

Please sign in to comment.