Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292899
b: refs/heads/master
c: de13e96
h: refs/heads/master
i:
  292897: e5a911b
  292895: c10c2a6
v: v3
  • Loading branch information
Douglas Gilbert authored and James Bottomley committed Feb 19, 2012
1 parent afcb504 commit 26df941
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: bd9244f7b9508a5945dcbd015db334110a9cdecf
refs/heads/master: de13e9654e308db6bde49c779410512ad9659bc0
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/scsi_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -2220,7 +2220,7 @@ static int resp_get_lba_status(struct scsi_cmnd * scmd,
mapped = map_state(lba, &num);

memset(arr, 0, SDEBUG_GET_LBA_STATUS_LEN);
put_unaligned_be32(16, &arr[0]); /* Parameter Data Length */
put_unaligned_be32(20, &arr[0]); /* Parameter Data Length */
put_unaligned_be64(lba, &arr[8]); /* LBA */
put_unaligned_be32(num, &arr[16]); /* Number of blocks */
arr[20] = !mapped; /* mapped = 0, unmapped = 1 */
Expand Down

0 comments on commit 26df941

Please sign in to comment.