Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40317
b: refs/heads/master
c: 46c43db
h: refs/heads/master
i:
  40315: b16c2fc
v: v3
  • Loading branch information
Alexey Dobriyan authored and James Bottomley committed Oct 25, 2006
1 parent bb8ada6 commit 130a4e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8e394aec14f24e3b41a315a2dc53537024190c8a
refs/heads/master: 46c43db1eabcdc46ad9a3d711edff1d698ecd21f
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/scsi_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ static void scsi_setup_blk_pc_cmnd(struct scsi_cmnd *cmd)
{
struct request *req = cmd->request;

BUG_ON(sizeof(req->cmd) > sizeof(cmd->cmnd));
BUILD_BUG_ON(sizeof(req->cmd) > sizeof(cmd->cmnd));
memcpy(cmd->cmnd, req->cmd, sizeof(cmd->cmnd));
cmd->cmd_len = req->cmd_len;
if (!req->data_len)
Expand Down

0 comments on commit 130a4e0

Please sign in to comment.