public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* On patch "Let scsi_cmnd->cmnd use request->cmd buffer"
@ 2008-05-03 23:30 Stefan Richter
  2008-05-04 12:15 ` Boaz Harrosh
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Richter @ 2008-05-03 23:30 UTC (permalink / raw)
  To: Boaz Harrosh; +Cc: linux-scsi

Commit 64a87b244b9297667ca80264aab849a36f494884 contains:
-------------------------- drivers/firewire/fw-sbp2.c --------------------------
index 2a99937..dda82f3 100644
@@ -1487,7 +1487,7 @@ static int sbp2_scsi_queuecommand(struct scsi_cmnd *cmd, scsi_done_fn_t done)
 	if (scsi_sg_count(cmd) && sbp2_map_scatterlist(orb, device, lu) < 0)
 		goto out;
 
-	memcpy(orb->request.command_block, cmd->cmnd, COMMAND_SIZE(*cmd->cmnd));
+	memcpy(orb->request.command_block, cmd->cmnd, cmd->cmd_len);
 
 	orb->base.callback = complete_command_orb;
 	orb->base.request_bus =


Should drivers/ieee1394/sbp2.c::sbp2_create_command_orb() be changed in
the same way?
-- 
Stefan Richter
-=====-==--- -=-= --=--
http://arcgraph.de/sr/


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-05-04 14:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-03 23:30 On patch "Let scsi_cmnd->cmnd use request->cmd buffer" Stefan Richter
2008-05-04 12:15 ` Boaz Harrosh
2008-05-04 12:44   ` Stefan Richter
2008-05-04 13:01     ` Stefan Richter
2008-05-04 13:36       ` Boaz Harrosh
2008-05-04 13:46         ` Boaz Harrosh
2008-05-04 14:50           ` Stefan Richter
2008-05-04 14:54         ` Stefan Richter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox