aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-12-14 18:40:02 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-14 18:40:02 -0800
commita50e2cc7c8e2b9b38f5972bc19daea4c98878d01 (patch)
treede134372fa3982479962b384495064d38ea2bede /drivers/scsi/megaraid.c
parentc7868048a7314bb4a2973097d605f00acd3b70bd (diff)
parentc9526497cf03ee775c3a6f8ba62335735f98de7a (diff)
downloadkernel_samsung_aries-a50e2cc7c8e2b9b38f5972bc19daea4c98878d01.zip
kernel_samsung_aries-a50e2cc7c8e2b9b38f5972bc19daea4c98878d01.tar.gz
kernel_samsung_aries-a50e2cc7c8e2b9b38f5972bc19daea4c98878d01.tar.bz2
Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6
Diffstat (limited to 'drivers/scsi/megaraid.c')
-rw-r--r--drivers/scsi/megaraid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c
index f979252..578143e 100644
--- a/drivers/scsi/megaraid.c
+++ b/drivers/scsi/megaraid.c
@@ -664,7 +664,7 @@ mega_build_cmd(adapter_t *adapter, Scsi_Cmnd *cmd, int *busy)
sg->offset;
} else
buf = cmd->request_buffer;
- memset(cmd->request_buffer, 0, cmd->cmnd[4]);
+ memset(buf, 0, cmd->cmnd[4]);
if (cmd->use_sg) {
struct scatterlist *sg;