projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCSI] Let scsi_cmnd->cmnd use request->cmd buffer
[linux-block.git]
/
drivers
/
scsi
/
a100u2w.c
diff --git
a/drivers/scsi/a100u2w.c
b/drivers/scsi/a100u2w.c
index 792b2e807bf32a6151a38e3c2690e2a33c272f90..ced3eebe252c17164c1b7fe1ab01d82251341f1f 100644
(file)
--- a/
drivers/scsi/a100u2w.c
+++ b/
drivers/scsi/a100u2w.c
@@
-895,7
+895,7
@@
static void inia100_build_scb(struct orc_host * host, struct orc_scb * scb, stru
} else {
scb->tag_msg = 0; /* No tag support */
}
- memcpy(
&scb->cdb[0], &
cmd->cmnd, scb->cdb_len);
+ memcpy(
scb->cdb,
cmd->cmnd, scb->cdb_len);
}
/**