Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68897
b: refs/heads/master
c: 52aeeca
h: refs/heads/master
i:
  68895: 82492e5
v: v3
  • Loading branch information
Michael Reed authored and James Bottomley committed Oct 12, 2007
1 parent 3bcce84 commit 01c2132
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cec744fb2b78e9dcd377a6740f2de05227c7faef
refs/heads/master: 52aeeca9001d1b4037a8e5d0c001ebb5fdc61b37
1 change: 1 addition & 0 deletions trunk/drivers/scsi/scsi_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ EXPORT_SYMBOL_GPL(scsi_execute_async);
static void scsi_init_cmd_errh(struct scsi_cmnd *cmd)
{
cmd->serial_number = 0;
cmd->resid = 0;
memset(cmd->sense_buffer, 0, sizeof cmd->sense_buffer);
if (cmd->cmd_len == 0)
cmd->cmd_len = COMMAND_SIZE(cmd->cmnd[0]);
Expand Down

0 comments on commit 01c2132

Please sign in to comment.