diff options
Diffstat (limited to 'drivers/scsi/megaraid.c')
-rw-r--r-- | drivers/scsi/megaraid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c index 9fa41ccadef2..4a6feb1e5e3d 100644 --- a/drivers/scsi/megaraid.c +++ b/drivers/scsi/megaraid.c | |||
@@ -665,7 +665,7 @@ mega_build_cmd(adapter_t *adapter, Scsi_Cmnd *cmd, int *busy) | |||
665 | sg->offset; | 665 | sg->offset; |
666 | } else | 666 | } else |
667 | buf = cmd->request_buffer; | 667 | buf = cmd->request_buffer; |
668 | memset(cmd->request_buffer, 0, cmd->cmnd[4]); | 668 | memset(buf, 0, cmd->cmnd[4]); |
669 | if (cmd->use_sg) { | 669 | if (cmd->use_sg) { |
670 | struct scatterlist *sg; | 670 | struct scatterlist *sg; |
671 | 671 | ||