projects
/
deliverable
/
linux.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
[deliverable/linux.git]
/
drivers
/
usb
/
storage
/
cypress_atacb.c
diff --git
a/drivers/usb/storage/cypress_atacb.c
b/drivers/usb/storage/cypress_atacb.c
index d88824b3511c0de74a320a0be30554052d374f7f..898e67d30e563bfc4b8a11cf1715cee5a1edec56 100644
(file)
--- a/
drivers/usb/storage/cypress_atacb.c
+++ b/
drivers/usb/storage/cypress_atacb.c
@@
-46,7
+46,7
@@
void cypress_atacb_passthrough(struct scsi_cmnd *srb, struct us_data *us)
}
memcpy(save_cmnd, srb->cmnd, sizeof(save_cmnd));
- memset(srb->cmnd, 0,
sizeof(srb->cmnd)
);
+ memset(srb->cmnd, 0,
MAX_COMMAND_SIZE
);
/* check if we support the command */
if (save_cmnd[1] >> 5) /* MULTIPLE_COUNT */
This page took
0.024357 seconds
and
5
git commands to generate.